如何在邮递员中修改内容类型 [英] How to modify Content-Type in postman

查看:49
本文介绍了如何在邮递员中修改内容类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在邮递员中测试我的逻辑应用程序 API,但我在自动添加标题邮递员时遇到问题

I'm trying to test my logic app API in postman but I'm having an issue with header postman automatically adding

Content-Type = multipart/form-data;

Content-Type = multipart/form-data;

当我将鼠标悬停在内容类型选项卡上时使用请求正文选项卡来控制值或删除标题"

when I hover on the content-type tab seeing this "use the request body tab to control the value or remove the header"

谁能帮我设置 Content-Type = application/json

Can anyone help me with how I can set Content-Type = application/json

推荐答案

转到正文 ->选择原始 ->从下拉列表中选择 JSON.它应该如下图所示,然后将其设置为 application/json

Go to Body -> select raw -> Select JSON from the dropdown. It should look like the image below then set it to application/json

这篇关于如何在邮递员中修改内容类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆