postman简单使用
1get请求:
请求方式:选择get
URL:输入url地址
Parmas:输入get请求参数(将参数放入url中)
send:点击发送请求
stauts:查看响应状态码
body:查看响应结果
2post请求:
请求方式:选择post
URL:输入url地址
body:输入post请求参数(将参数放入请求体中)
multipart/from-data:以表单形式的请求类型,使用键值对方式,还可以上传文档。可以给每个值设置content-type。
x-www-from-urlencoded:以表单形式的请求类型,使用键值对方式,不可以上传文档。可以给整体设置content-type。
raw:任意格式文本,text,json,xml,html
binary:上传二进制数据。
send:点击发送请求
stauts:查看响应状态码
body:查看响应结果

浙公网安备 33010602011771号