如图所示
Header信息如下:
Request URL: http://jg.XXXXX.cn/erp.php/login/login.html
Request Method: POST
Status Code: 200 OK
Remote Address: 42.194.227.203:80
Referrer Policy: strict-origin-when-cross-origin
Response Headers view source
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, authKey, sessionId
Access-Control-Allow-Methods: GET, POST, PUT, DELETE
Access-Control-Allow-Origin: *
Cache-Control: no-store, no-cache, must-revalidate
Connection: keep-alive
Content-Type: application/json; charset=utf-8
Date: Tue, 08 Dec 2020 23:35:58 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Server: nginx/1.15.10
Set-Cookie: merchant_code=JG100000; path=/
Set-Cookie: token=gWB2mPWGSNOgycL61607470558; path=/
Transfer-Encoding: chunked
X-Powered-By: PHP/7.3.13
Request Headers view source
Accept: application/json, text/javascript, */*; q=0.01
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 41
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Cookie:Hm_lvt_275b44e62899a0fb992899d723470c22=1605765253; StiMobileDesignerDictionarySettings=%7B%22createFieldOnDoubleClick%22%3Afalse%2C%22createLabel%22%3Afalse%2C%22useAliases%22%3Afalse%7D; StimulsoftMobileDesignerLastTabOnPropertiesPanel=Properties; PHPSESSID=gt47mo0qhqiemnj8k54pbn8599; merchant_code=JG100000; token=oByFyNDQSWT7WZ5c1607470534
Host: jg.XXXXX.cn
Origin: http://jg.XXXXX.cn
Pragma: no-cache
Referer: http://jg.XXXXX.cn/erp.php/Login/index?code=JG100000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
X-Requested-With: XMLHttpRequest
Form Data view source view URL encoded
username: jg
password: XXXXXXX
code: JG100000