def post_company(context, user):
    body = request.json
    Company.create_company(context, body)
    return Response(status=201, response="Resource created")
示例#2
0
def post_company(context, user):
    body = request.json
    Company.create_company(context, body)
    return Response(status=201, response="Company created successfully!")