We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What about adding support for requests in JSON format?
I could even contribute to it, if you help and point me to the right way to do it, because I'm approaching Flask for the first time in this period.
Regards, Giorgio
The text was updated successfully, but these errors were encountered:
Hi, the JSON mediatype is already supported. Just add location="json" to your Argument. Ex:
location="json"
parser = reqparse.RequestParser() parser.add_argument("name", location="json")
Sorry, something went wrong.
Excellent! 👍
Great !
@ryanhorn what if the json is an array of objects. So for example: { "names" : [ {"name":"abc"}, {"name":"xyz"} ] }
No branches or pull requests
What about adding support for requests in JSON format?
I could even contribute to it, if you help and point me to the right way to do it, because I'm approaching Flask for the first time in this period.
Regards,
Giorgio
The text was updated successfully, but these errors were encountered: