How to map a keyless api response in drapcode

Hie @vishsahu @alitanwir . i want to learn how to map a response that returns just as a string or an array of strings , without a key identifier for example this kind of api response on the image below
image

Hi @Nigel,

The data need to come on some key, otherwise how do we know where to find it.

Thanks.

Thank you for your immediate feedback . so if it is just returning as a string , or a number withoout being specified if the key to that a string or number , its not achievable to map it in drapcode ? I have a number of such cases where an api call just returns a number or a response as a string without specifying a key . I had been using {{response.body}} . i dont know if it captures the response that way ?

Hi @Nigel,

You can give the parameter of that specific value or try leaving it as blank. But without any key the JSON itself is not valid, hence the issue.

Thanks.

Thanks @Vishal . Superconcerning yet critical .
Here is a link to one cae examplein the documentation maybe you will see what am missing so providing direct source may help :

Hi @Nigel,

I have taken a look. The response is not a valid JSON as there is no key, and only value is there.

[
“0x8cb76aed9c5e336ef961265c6079c14e9cd3d2ea”
]

In this case you will probably have to manage it through some custom code.