POST module

class methods.POST.POST

Bases: object

static response(request)str

Performs an insertion when there is a POST request, returning a response with the headers and the correct body. Adds the received object within the database.

Parameters

request – Request object, containing the body and headers of that request

Returns

The answer to this request