在 Postman 中将 JSON 嵌套节点转换为 x-www-form-urlencoded

问题描述

有人可以告诉我如何使用帖子将以下 JSON 格式转换为 x-www-form-urlencoded 格式。我检查了这个链接,但没有用。 Convert JSON to x-www-form-urlencoded

我还没有找到满意的答案。

{
    "Dto":
       6897,"ConfirmationResponses":{
        "Tenants_Delete":true
}
}

如果我在 raw 中使用上面的 JSON,它在邮递员中工作正常。请看下面的画面

enter image description here

但它不适用于 x-www-form-urlencoded。它不读取 Tenants_Delete 命令。

enter image description here

另外两种方式,我试过如下

enter image description here

解决方法

试试这个

enter image description here

输出==>请求==>{"Dto":"689","ConfirmationResponses":{"Tenants_Delete":"true"}} POST /提交 200 21.842 毫秒 - 7

enter image description here