POST multipart/form-data
curl -X POST -H "Content-Type:multipart/form-data" -F "client_id=shengyihuo" -F "access_token=9df3ca04205900235e3aa0fc35bab1ff3da00036" -F "sn=18088004400001" -F "data={"userNo":"123456"}" http://api.syhuo.net/remote/upload_data.json
POST application/json
curl -X POST -H 'Content-Type: application/json' -i 'https://api.syhuo.net/remote/get_data.json' --data '{ "client_id": "shengyihuo", "access_token": "2cb09825f5558101e86011e647df200bbc923d0d", "sn": "18088004400001" }'
Fiddler POST RAW
POST http://api.syhuo.net/oauth2/access_token.json HTTP/1.1 Host: api.syhuo.net Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW Cache-Control: no-cache Postman-Token: 033120fe-2185-15d4-e486-75e86e2baddd Content-Length: 391 ------WebKitFormBoundary7MA4YWxkTrZu0gW Content-Disposition: form-data; name="client_id" shengyihuo ------WebKitFormBoundary7MA4YWxkTrZu0gW Content-Disposition: form-data; name="client_secret" bf579895ae4e5964bb4e78a09c01551b ------WebKitFormBoundary7MA4YWxkTrZu0gW Content-Disposition: form-data; name="grant_type" client_credentials ------WebKitFormBoundary7MA4YWxkTrZu0gW--
GET
curl -X GET -k -i 'https://api.syhuo.net/others/frequency.json?client_id=shengyihuo&access_token=272e57613eff09a2bfb7e35992f875e229419cff&name=upload_online_status'
来源:https://www.cnblogs.com/hnhycnlc888/p/12536987.html