How to POST data to ASP.NET HttpHandler?

前端 未结 6 740
无人及你
无人及你 2021-02-02 15:58

I am trying to send a large chunk of data over to a HTTP handler. I can\'t send it using GET because of the URL length limit so I decided to POST it instead. The problem is that

6条回答
  •  你的背包
    2021-02-02 16:52

    I also had the same problem. It was an client/AJAX problem. I had to set the AJAX call request header "ContentType" to

    application/x-www-form-urlencoded
    

    to make it work.

提交回复
热议问题