[Internal] HTTP POST Method Error 411 Length Required [Internal] HTTP POST Method Error 411 Length Required

[Internal] HTTP POST Method Error 411 Length Required

Paul Bird

In the case of a client using POST method enquiring about HTTP error: "411 - Length Required", this will be related to the 'content-length' not being present on their POST API request.

To resolve this problem there are two possibilities:

  • Have the client switching to GET method, although this might be a concern on the client side due to decreased privacy of their API calls.
  • Ensure that the content-length header is included on their POST API requests.