Capture the Android device request API When you carry such a large stack of data, how does PHP emulate this data?
customerid:801
clientagent:m351#1080*1800
versionid:5.6.2
Model:generic/anyphone
Contentformat:json2
userid:412b46585b10a8b8a8aac6e7f92b8811
token:7531756a785967676c4a6371664b33767531452b356b506e
Agency:meizustore01
Clienttest:false
content-length:609
content-type:application/x-www-form-urlencoded
Host:mobds.ganji.cn
Connection:keep-alive
user-agent:paros/3.2.13
Reply content:
Capture the Android device request API When you carry such a large stack of data, how does PHP emulate this data?
customerid:801
clientagent:m351#1080*1800
versionid:5.6.2
Model:generic/anyphone
Contentformat:json2
userid:412b46585b10a8b8a8aac6e7f92b8811
token:7531756a785967676c4a6371664b33767531452b356b506e
Agency:meizustore01
Clienttest:false
content-length:609
content-type:application/x-www-form-urlencoded
Host:mobds.ganji.cn
Connection:keep-alive
user-agent:paros/3.2.13
When simulating, these parameters are carried in the header information.
Today just see a PHP httpclient, feel more useful, recommended.
Http://unirest.io/php.html
Set the UA with Curl and make the post head the same
There are many ways to look at your post request or GET request, curl Extension can be implemented!!!
Can use postman this chrome plugin, debugging API interface is very convenient.
Postman can add multiple types of information that contain these header information