请求URL的格式是这样的(使用post的方式):
https://console.tim.qq.com/v4/profile/portrait_set?usersig=xxx&identifier=admin&sdkappid=88888888&random=99999999&contenttype=json
请问usersig、dentifier等这些东西是加在请求头里,还是直接放在URL?
原链接:https://www.qcloud.com/doc/product/269/设置资料
请求URL的格式是这样的(使用post的方式):
https://console.tim.qq.com/v4/profile/portrait_set?usersig=xxx&identifier=admin&sdkappid=88888888&random=99999999&contenttype=json
请问usersig、dentifier等这些东西是加在请求头里,还是直接放在URL?
原链接:https://www.qcloud.com/doc/product/269/设置资料
如果是POST方式的话,就应该加在请求消息体里。当然加在请求头里也可以。但是不能加在url后面。这种方式get请求才能用。