![]() |
|
[b]"How to Create a POST Request with Body Parameters in Flask?"[/b]
or
[b]"Flask: How to Properly Create a POST R - Printable Version +- Proxy Community (https://proxycommunity.com/forum) +-- Forum: Technical Community Support (https://proxycommunity.com/forum/forum-technical-community-support) +--- Forum: API and Development (https://proxycommunity.com/forum/forum-api-and-development) +--- Thread: [b]"How to Create a POST Request with Body Parameters in Flask?"[/b] or [b]"Flask: How to Properly Create a POST R (/thread-b-how-to-create-a-post-request-with-body-parameters-in-flask-b-%0A%0Aor-%0A%0A-b-flask-how-to-properly-create-a-post-r) |
“” - secureLurker77 - 06-04-2025 Thanks for all the tips, everyone! I tried `request.get_json()` and fixed my Postman headers, and it’s working now. Still weird that `request.json` didn’t work consistently, but hey, progress! Follow-up Q: What’s the best way to handle errors if the JSON is malformed? Like, return a 400 with a useful message? |