Forum Discussion
Hi koryknick ,
Thanks for your reply.
The ID is part of POST body request.
Within parent pipeline, Json splitter is generating its multiple documents which are then passed to child pipeline via pipeline execute.
When next iteration happens and child pipeline is called, I am not able to retain the response from first iteration. how to solve that?
Thanks
You will have to map the content to send in the post using a mapper to the target format expected if it is JSON.
Then you can set the HTTP Entity in the rest post snap to the path of the root of the content/structure you wish to send.
Based on your need and the requirements on the data you will post you can also play around with XML generator or JSON generator to build the target document using velocity templates, sometimes that could be an easier way (visually) if it is a more complex structure you need to map and post.
If you are still facing challenges please post some example on how the json is structured from the previous snap and how your POST request is expected to be sent and structured.