How to POST data to ASP.NET HttpHandler?

前端 未结 6 733
无人及你
无人及你 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:54

    The POST data that you are sending to your HTTP Handler must be in querystring format a=b&c=d. And you can retrieve it on the server-side using Request["a"] (will return b), and so on.

提交回复
热议问题