Making POST requests with parameters in GWT

前端 未结 4 1393
无人及你
无人及你 2021-02-04 05:53

I am trying to do a POST request with a set of parameters to a given URL. The problem I am having is that the POST request is made, but no parameters are passed.



        
4条回答
  •  情话喂你
    2021-02-04 06:16

    Set the header of your request:

    builder.setHeader("Content-type", "application/x-www-form-urlencoded");
    

提交回复
热议问题