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.

Community Manager

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.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now