Skip to content

Document incoming request type and/or add request parsing examples #80

@anniefu

Description

@anniefu

Please document the incoming "request" object to the function stub. It is important in the weakly typed languages.

For python, it happens to be a Flask request, which means I have to call request.get_json() to get the request body of POSTs.

But it could also have feasibly been some alternative like Django HttpRequest, which means I use request.body to get the request body of POSTs.

It would also be nice to have an example that parses a request body and/or request URL parameters and provides an example cURL request instead of just returning a string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions