Forum Discussion
Hi,
You might not be setting the headers correctly, but I cannot tell. Can you share screenshots of the raw tabs for the request and response?
In the request side, you need to define the headers. You may have done that already as I note you asked that as a separate question.
It would be nice to see the raw response. I know you said it works in Postman, but worth a look.
Even after setting Content-Type application/json it is getting overwritten with text/html ( see the raw tab of response)
- richie3 years agoCommunity Hero
Hey usamant
sorry - I think I responded the same time as ChrisAdams did and we had the same thoughts.
Looking at your RAW tab - you'd expect if there was any response payload content immediately beneath the headers list.
I can only see the top of the RAW in your screenshot - is there any payload content beneath the headers?
If there is no payload content beneath the headers list, then that's the reason for the lack of json content in your JSON tab - there is no payload in the response.
If there is content - can you screengrab the full details of the RAW tab please?
if there is no payload content and you're expecting it - then I'd suggest there something you need to sort (defect, etc.) at your end - this isn't a SoapUI issue by the look of things.
Cheers,
Rich
Related Content
- 10 months agoKimdoengart
- 5 years agocpentecost