java实现 HTTP协议的类REST调用方式问题 20
POST/robot/ask.doHTTP/1.1Cache-Control:no-cachePragma:no-cacheHost:nlp.xiaoi.comConne...
POST /robot/ask.do HTTP/1.1
Cache-Control: no-cache
Pragma: no-cache
Host: nlp.xiaoi.com
Connection: Keep-Alive
Content-Length: xxx
Content-Type:application/x-www-form-urlencoded; charset=UTF-8
X-Auth:xxxxxx
question=你好&userId=aaa&platform=custom&type=1
调用接口用Java如何实现? 展开
Cache-Control: no-cache
Pragma: no-cache
Host: nlp.xiaoi.com
Connection: Keep-Alive
Content-Length: xxx
Content-Type:application/x-www-form-urlencoded; charset=UTF-8
X-Auth:xxxxxx
question=你好&userId=aaa&platform=custom&type=1
调用接口用Java如何实现? 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询