tRestClient - Accept Type JSON

Highlighted
Six Stars

tRestClient - Accept Type JSON

Hi,

 

when using tRESTClient component, I am setting accept type to JSON, however the output is XML. 

 

Is this expected behaviour?

 

Thanks.

Sixteen Stars

Re: tRestClient - Accept Type JSON

Go to your Advanced Settings of the tRestClient and untick "Convert Response To DOM Document". If your web service is returning JSON, it will not be modified now.