Hello everyone,
I have a csv file and I want to send data to a REST API.
My final data looks like this:
I will give you an example of how I want my final result to be.
For 3 records in my csv file, every record will look similar with the one above.
For 1 record in my csv file, I want to sent firstly a json with serial, interface and userData_dep fields, and then another json with serial, interface and userData_lan fields.
To do that I used 2 http client processors, one for the dep and one for the lan. But I saw that the jsons weren’t sent as I want. My pipeline send 3 json with _dep field, and then another 3 json with _lan field.
I want to send 1 json with dep field, then 1 json with lan field, then the next json with the dep field, and the next json with the lan field and so on.
I want to send them sequentially.
Could you help me with some ideas?
Thank you!