Forum Discussion

gaganchawla's avatar
gaganchawla
Occasional Contributor
12 years ago

How to set the Header value in Soap UI Pro

I am using SoapUI Pro 4.6.3, The server is responding a Json with content-type: text/html, which Soap UI doesn't identify as Json.
I tried updating the header section in request to content-type: Application/json, but it still responds me the same html format reply. Can you please help me on this.

Thanks,
Gagan
  • Cizo89's avatar
    Cizo89
    Frequent Contributor
    Hi gaganchawla,

    try using header Accept with value application/json.
    This should solve your problem.

    Regards,
    Marek
  • Hi,

    As Marek said, please set the header to Accept and use value application/json.



    Regards,
    Marcus
    SmartBear Support