(蓝色部分为可选)
GET原始请求
GET /messages?message=hello HTTP/1.1
Host:localhost:3000
Connection:keep-alive
Upgrade-Insecure-Requests:1
User-Agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)Chrome/65.0.3325.181 Safari/537.36
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Referer:http://localhost:3000/messages
Accept-Encoding:gzip, deflate, br
Accept-Language:zh-CN,zh;q=0.9
Cookie:Pycharm-a5aa301e=a8fcb5b4-afcf-4ed8-99b7-cef321b0a9df
Http body
POST原始请求
POST /login HTTP/1.1
Host: localhost:3000
Connection:keep-alive
Content-Length:25
Cache-Control:max-age=0
Origin:http://localhost:3000
Upgrade-Insecure-Requests:1
Content-Type:application/x-www-form-urlencoded
User-Agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)Chrome/65.0.3325.181 Safari/537.36
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Referer:http://localhost:3000/login
Accept-Encoding:gzip, deflate, br
Accept-Language:zh-CN,zh;q=0.9
Cookie:Pycharm-a5aa301e=a8fcb5b4-afcf-4ed8-99b7-cef321b0a9df
username=huangnan&password=123