区别form-date、x-www-form-urlencoded、raw、binary的类型

postman中 body的类型怎么区分?
在这里插入图片描述

form-date、x-www-form-urlencoded、raw、binary的类型与所传类型有关,主要查看请求头的类型
例如:
抓包查看请求头的content-type类型是Content-Type: application/json;charset=UTF-8 那么选择时则要选择application/json类型
在这里插入图片描述

选择raw 中的application/json
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_41665637/article/details/86491840