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: 
Anonymous
Not applicable

HTTP Post Method with JSON, tREST

Hi,

 

I am trying to create records using HTTP Post requests. I am using the below components, and the job seems to run without any errors however the new records have not been created in the target system.

 

tDBInput --- tMap ---- tWriteJSON --- tJavaFlex (trim null values) --- tFlowToIterate ---- tRest 

 

When I test the JSON using Postman, it seems to be working, but it doesn't seem to work in Talend.  Can anyne suggest, what could be the issue here?

 

Thanks

 

 

 

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Get rid of the tFlowToIterate and the tRest components and add a tRestClient. The supply the JSON to the "string" input column of the tRestClient. So long as the tRestClient is configured correctly, this should work. 

View solution in original post

3 Replies
Anonymous
Not applicable
Author

 

This is the twriteJSON object. Does the JSON tree config look right ?

 

0683p000009M8Z7.jpg

Anonymous
Not applicable
Author

Get rid of the tFlowToIterate and the tRest components and add a tRestClient. The supply the JSON to the "string" input column of the tRestClient. So long as the tRestClient is configured correctly, this should work. 

Anonymous
Not applicable
Author

Hi Richard, 

 

It worked! Thanks a lot for your prompt response! 

 

Mary