Response continues to return as XML... need JSON

My API Docs have the response returning in JSON when I test on in their documentation.

When I put it in Apiant, it continues to come back in XML

Am I missing something? How do I get it to come back in JSON? or convert it from XML to JSON?

If an API returns JSON, the HTTP Transaction modules and variants automatically convert the response to XML.

You will see ā€œoā€, ā€œeā€, and ā€œaā€ nodes to represent JSON objects, entries, and attributes.

You should not normally need JSON in the assembly editor, but if you do you can configure the HTTP Transaction modules and variants to return the raw JSON text

1 Like