def post(self): response = {} user_resource = UserResource(request.json) try: response['user_list'] = user_resource.get_or_create() except Exception as error: print error pass return self.json_response(data=response)