def post(self): consent_data = JSONParser.to_collection(self.request.body) serv = AuthorizationService() result = serv.consent(consent_data) self.success(response=result)
def post(self): sign_up_data = JSONParser.to_collection(self.request.body) serv = AuthorizationService() result = serv.signup(sign_up_data) self.success(response=result)