HTTP协议扫盲(七)请求报文组装和接收(POSTMAN)

时间:2021-08-13 05:04:36

一、get

1、请求

HTTP协议扫盲(七)请求报文组装和接收(POSTMAN)

2、报文

HTTP协议扫盲(七)请求报文组装和接收(POSTMAN)

 3、小结

postman当选择get请求方式时,不允许有body录入,也就无法传递form参数了

二、post

1、请求

HTTP协议扫盲(七)请求报文组装和接收(POSTMAN)

HTTP协议扫盲(七)请求报文组装和接收(POSTMAN)

HTTP协议扫盲(七)请求报文组装和接收(POSTMAN) 

2、报文

HTTP协议扫盲(七)请求报文组装和接收(POSTMAN)

3、签名

=============================POST-BEGIN============================
requestUri::/DemoWeb/http1/xxx.do
queryString::param11=val11&param12=val12
uri=/DemoWeb/http1/xxx.do
queryParams={param11=val11, param12=val12}
headersToSign={X-CA-FRONT-nonce=22, X-CA-FRONT-timestamp=11}
bodyStr=param21=val21&param22=val22
sign2=JphbzL8mwQ4OArGhhO9rq2TGY8jKdWu05j3muaf4DLI=
sign1=JphbzL8mwQ4OArGhhO9rq2TGY8jKdWu05j3muaf4DLI=
checkSign=true
=============================POST-END============================ 

四、put

五、delete