post method
Implementation
@override
Future post(ApiRequest request) async {
if (!allowPost) {
throw ApiRequestException.methodNotAllowed();
}
final json = await request.getJsonBody();
final data = bean.toObject(json);
final result = await postElement(data);
return {'result': result.b};
}