Flask: request vs Request
Andrew Z
formisc at gmail.com
Sat Mar 10 23:51:48 EST 2018
that's right there is no Request used.
So what for the Request is used for then?
Here
<https://stackoverflow.com/questions/20036520/what-is-the-purpose-of-flasks-context-stacks>
it is explained that request is for current request... that's kinda of
clears the air a bit.
but where do i find it's methods?
On Sat, Mar 10, 2018 at 11:09 PM, Christopher Mullins <
christopherrmullins at gmail.com> wrote:
> 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.
>
>
More information about the Python-list
mailing list