http协议请求响应内容示例

POST http://www.cytxl.com.cn/api/common/login.php?XDEBUG_SESSION_START=netbeans-xdebug HTTP/1.1
Host: www.cytxl.com.cn
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
Accept: */*
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Content-Length: 85
Content-Type: text/plain;charset=UTF-8
Cookie: PHPSESSID=0ea0dso00s74ds0pun2jcm7jb2; XDEBUG_SESSION=netbeans-xdebug; _mcloudauth=5VWcu956AZJIY0QIioTw5zKXNJRXafJFFxb1KFbED53w%3Df900cdcba893a185d3347337833a806e
Connection: keep-alive

{"requestId": "1534386856","params": {"mobile":"MTM5Mjg4OTI4NTc=","code":"MTk2MDM4"}}


HTTP/1.1 200 OK
Date: Thu, 16 Aug 2018 03:10:03 GMT
Server: Apache/2.4.18 (Win32) OpenSSL/1.0.2e mod_fcgid/2.3.9
X-Powered-By: PHP/5.5.30
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: XDEBUG_SESSION=netbeans-xdebug; expires=Thu, 16-Aug-2018 04:10:03 GMT; Max-Age=3600; path=/
Set-Cookie: _mcloudauth=xZ4y7BzG%2Bh3n4DAX1oy5wXUMZ0616h1WuywKO8Nf%2FcqI%3D59ec05a6d0b741340615114f8ea2a352; path=/; httponly
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

35
{"code":0,"data":["mobile","13928892857"],"msg":"ok"}
0

猜你喜欢

转载自www.cnblogs.com/hnhycnlc888/p/9488890.html