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

前端 未结 6 1066
我寻月下人不归
我寻月下人不归 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

    In my case problem was caused by security issues, i used csfr for authentication, and all my post forms should have input with _csrf

    
    

提交回复
热议问题