HTTP request by: Request line; message header; Request Body composition
Request Line
Request Url:http://172.32.4.33:8080/operation/v2/autoserver/queryautoserver.htm//requesting address
Request Method:post//Requesting method
Status code:200 OK//Request State Code
Remote address:172.32.4.33:8080//remotely requested address
Referrer Policy:no-referrer-when-downgrade//indicates which jump page the request is from and displays the jump page address.
Server response Header
Content-type:application/json;charset=utf-8
date:wed, APR 2018 08:17:38 GMT
server:apache-coyote/1.1
Transfer-encoding:chunked
Request Header
Accept:application/json, Text/plain, */*//request header want to receive JSON plain data
Accept-encoding:gzip, deflate
accept-language:zh-cn,zh;q=0.9
Connection:keep-alive
Content-length:29
Content-type:application/json; Charset=utf-8
host:172.32.4.33:8080
origin:file://
tokenid:ae039c9cb7f948a89ac1b3dbd2135440
user-agent:mozilla/5.0 (Windows NT 10.0; WOW64) applewebkit/537.36 (khtml, like Gecko) chrome/65.0.3325.181 safari/537.36
Request Body
{beginpage:1, pagesize:10}
Beginpage:1
Pagesize:10
Where the request status code is very critical, the common request status code is:
1.200 OK indicates successful request
2.400 Bad Request indicates a syntax error for client requests and the server cannot parse
3.401 Unauthorized indicates unauthorized
4.403 Forbidden Server accepts a request, but refuses to service it
5.404 not Found request URL error, request address not found
6.500 Internal Server error server has unpredictable errors
7.503 Server Unavailable Server is currently unable to process client requests and may return to normal after a certain period of time
HTTP protocol composition (Request status code)