I am trying to send a POST request from a browser to my server (localhost). URL of my request:
http://localhost:8080/myPath/myServlet?requestData={ .......//Json String......};
requestData is a json string (I use GSON for this purpose.) Everything works fine until the data in the json string exceeds a certain limit. Say I'm sending an array of objects in a json string. If the number of objects in the list exceeds 67 , I get the following error:
AM org.apache.coyote.http11.AbstractHttp11Processor process INFO: Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
Why is this so? I am completely baffled. Why is this happening and what needs to be done to fix it? I want to understand the reason for this, because I do not understand that after a certain number of objects, it suddenly stops working, and I get this error in my console.
source share