例如:url--- http://api.joker688.net:81?AppID=F22S&Signature=nqedCFQpWNNNTH%2BBEmQYVFYgzpo%3D
body raw-- Method=CU&Timestamp=1489150955&Username=jn_zxcvbn
POST请求的话,url参数不是应该放到body里面传输吗,但是我在body里面要放其他东西。
望解答!!
问答
http post请求,url后面有参数且body里需要传raw,我该如何请求?
标签:
无
4 回复
http://api.joker688.net:81?AppID=F22S&Signature=nqedCFQpWNNNTH%2BBEmQYVFYgzpo%3D 当做url后post,请求400
java.io.IOException: Server returned HTTP response code: 400 for URL: http://api.joker688.net:81?AppID=F13S&Signature=ggwfvNmd57H16SlhAI%2B0WDYk%2Fws%3D
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625)
添加回复
请先登陆