It depends on how the client sends the payload. For JSON requests, request.get_json() is the usual way to access the body, while form submissions can be read with request.form. If you're still having trouble, sharing a sample payload and its Content-Type header would help narrow it down.
Top comments (2)
It depends on how the client sends the payload. For JSON requests,
request.get_json()is the usual way to access the body, while form submissions can be read withrequest.form. If you're still having trouble, sharing a sample payload and itsContent-Typeheader would help narrow it down.Thanks, this helps alot