13
Views
4
Comments
Consuming Rest API : problem with response body

Hi 

I am Using "Consume Rest API" for a particular URL and giving required headers and request body.

However, I am receiving junk/encrypted response as shown in screenshot below.

The same is giving correct result when tried in Postman.

Any suggestion?


mvp_badge
MVP
Rank: #2

That seems like compressed data. What happens if you leave the "Accept-Encoding" empty?

Rank: #2687

Tried doing that. Didn't work.

mvp_badge
MVP
Rank: #72

Hi Rakhi,

Just something I noticed. I see a typo in the Accept header field. 

It says applications/json where it should be application/json.

Regards,

Nordin

Rank: #2687

Oh yes, it was a type. But correcting that too, didn't work, is giving me the same junk/encoded result