postman请求如何设置Content-type为application/json以及参数如何传递

537 阅读1分钟

1、第一步,设置Content-Type

注意:请求头与返回头的Content-Type要保持一致

在这里插入图片描述

2、第二步,设置json格式的参数

在这里插入图片描述