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