如何在邮递员中修改 Content

编程入门 行业动态 更新时间:2024-10-28 02:25:35
本文介绍了如何在邮递员中修改 Content-Type的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试在邮递员中测试我的逻辑应用 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

更多推荐

如何在邮递员中修改 Content

本文发布于:2023-10-29 04:21:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1538711.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:邮递员   如何在   Content

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!