Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

Use Json as input to make REST call

Hello to all.
This is my first post here and about talend.
I'm  working on my first project in talend, and i need to call a REST webservice.
Input for call is JSON and response will be JSON too.
First of all what component should i use ? tREST, tRESTClient ?
secondly. i need to transform my RAW data (from HashMAP) to JSON, after that use it as input for a REST call.
- how do i make a JSON with values from hashmap ?
- how do i use JSON as input for ( tREST or tRESTClient ) ?
My work-flow.
1)read file --> 2) get needed data---> 3) convert data to Json ---> 4) make a REST call ----> 5) use response to send an email.
Thanks.
Labels (4)
2 Replies
Anonymous
Not applicable

Hi,
From your description, the work flow should be:Input-->  tXMLMAP( convert data to Jso )--> tRestClient(post) component calling a webservice to PUT data in json format.
Please take a look at component reference about:TalendHelpCenter:tRESTClient with related scenarios.
Best regards
Sabrina
Anonymous
Not applicable

Hi, 
what about invoking a rest webservice with talend ? how could we do such task ? 
thanks,