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!")