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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Eric_Talend
Creator
Creator

How can I use JSON file to call API Rest ?

Hello,

 

I have a difficulty and I can't get it to work.

 

I would like to call a API Rest with a JSON File.

 

The scheme :

 

mysql data -----> Json File -----> API Rest to add in database

 

My problem is the structure of the Json Field.

 

Kind regards.

 

Labels (2)
2 Replies
manodwhb
Champion II
Champion II

@Eric_Talend, you need to use the below like record by record from mysql and use twritejson or tHmap to convert the data into json and the use tRestClient.

 

tMySqlInput>>tFlowtoIterate>>tWritejson>>tJavaRow>>tRestClient

manodwhb
Champion II
Champion II

@Eric_Talend, you need to use the below like record by record from mysql and use twritejson or tHmap to convert the data into json and the use tRestClient.

 

tMySqlInput>>tFlowtoIterate>>tWritejson>>tJavaRow>>tRestClient