Python Forum

Full Version: HTTP 400 response code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have written python post rest api in my application, which accepts files too, I have called this api 11 times, for first 3 APIs I am able to
call successfully, Bit from 4th to 11th APIs are failed, I received HTTP 400 response.

can any one please help on this.

Thanks in advance.
From RFC 7231:
Quote:6.5.1. 400 Bad Request

The 400 (Bad Request) status code indicates that the server cannot or
will not process the request due to something that is perceived to be
a client error (e.g., malformed request syntax, invalid request
message framing, or deceptive request routing).