0
网址:http://xxx.xxx.xxx/Order/Interface/V1/Polling?token=xxx¶m= { “用户”:{ “用户ID”:2}}改造后令牌帕拉姆
后
token="xxx"
param="{"user":{"userID":2}}"
如何使用改造后?
网址:http://xxx.xxx.xxx/Order/Interface/V1/Polling?token=xxx¶m= { “用户”:{ “用户ID”:2}}改造后令牌帕拉姆
后
token="xxx"
param="{"user":{"userID":2}}"
如何使用改造后?
POST请求参数没有在URL中输入,而是在主体上键入。对于这样的请求,您必须使用GET请求。
为了更好地展示我的问题,所以我写了。 url:http://xxx.xxx.xxx/Order/Interface/V1/Polling post参数标记和参数 – wkchen
在这里你有官方的Retrofit2,有很多例子:https://square.github.io/retrofit/ – kelmi92