Search code examples
jsonpostmanx-www-form-urlencoded

Convert JSON Nested Node to x-www-form-urlencoded in Postman


Can someone please let me know how we can convert the below JSON to x-www-form-urlencoded format using the post. I checked the this link but it didn't work. Convert JSON to x-www-form-urlencoded

I didn't find a satisfactory answer for this yet.

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

If i use the above JSON in raw, it works fine in postman. See below screens please

enter image description here

but it doesn't work for x-www-form-urlencoded. It does not read the Tenants_Delete command.

enter image description here

Two other ways, i tried are below

enter image description here


Solution

  • Try this

    enter image description here

    Output ==> Req==>{"Dto":"689","ConfirmationResponses":{"Tenants_Delete":"true"}} POST /submit 200 21.842 ms - 7

    enter image description here