Python Forum
HTTP 400 response code - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: HTTP 400 response code (/thread-16523.html)



HTTP 400 response code - eshwinsukhdeve - Mar-03-2019

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.


RE: HTTP 400 response code - Larz60+ - Mar-03-2019

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).