Why do I get “Error parsing HTTP request header” when POSTing a JSON string?

前端 未结 6 1159
我寻月下人不归
我寻月下人不归 2021-02-09 13:29

I am trying to send a POST request from browser to my server(local host). My request URL is :

 http://localhost:8080/myPath/myServlet?requestData={          


        
6条回答
  •  自闭症患者
    2021-02-09 13:37

    IMHO the problem of parsing the headers can be caused by numerous reasons.

    In my case it was due to the fact that the following XML was passed:

    
    

    The empty header element was generated by SoapUI. After the removal of the from the XML of the WS then everything was fine.

提交回复
热议问题