【发布时间】:2014-02-04 11:08:14
【问题描述】:
我想用 java 发送一个 post 请求。 我已经看到了使用 Http Client 发布请求的示例。 但我想使用 sendRedirect 方法。
例如, https://processthis.com/process?name=xyz&phone=9898989898
我想使用发布请求来发送这些参数。因此,任何人都看不到这些参数,同时我需要将我的网址重定向到该网址,
response.sendRedirect("https://processthis.com/process");
【问题讨论】: