Example #1
0
def psu_update_hdl():
    data = json.load(bottle.request.body)
    return rest_psu_update.begin_job(data)
Example #2
0
 def helper_psu_update_hdl_post(self, request):
     data = self.get_data_from_generator(request.json())
     return web.json_response(rest_psu_update.begin_job(data),
                              dumps=dumps_bytestr)
Example #3
0
 async def psu_update_hdl_post(self, request):
     data = await request.json()
     return web.json_response(rest_psu_update.begin_job(data))
Example #4
0
def psu_update_hdl_post():
    data = json.load(bottle.request.body)
    return rest_psu_update.begin_job(data)
Example #5
0
def psu_update_hdl():
    data = json.load(request.body)
    return rest_psu_update.begin_job(data)