how do we format the complex Json elements for post call in a devportal ?

Not applicable

Hi ,

I am trying to format the below json in a dev portal body param ,.

Sample body:

{

"abc":

{

"x": "val",

"y": "val2",

"xy": "val3",

"xyz": "val4"

}

}

I am not able to populate the same request body in dev portal.

Please find the scree snot attached .

devportalbody-param.png

Can anyone please suggest how can we format the above json in dev portal body param.

Thanks,

0 1 123
1 REPLY 1

Kindly add "Body MIME Type" as "application/json" in the same form. And add sample body as well. Then you can add description as well. The whole json body will be given in Request Body Object. So give whole json in default value.