In the code you linked, I don't see where the *R*equest is used. The request variable is setup by flask when you annotate the function with the resource endpoint and POST method. It contains the content of the request which can be converted to json if that content type was specified.