Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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.
This is the twriteJSON object. Does the JSON tree config look right ?
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.
Hi Richard,
It worked! Thanks a lot for your prompt response!
Mary