I have a collection of objects. How to send each object from this collection in a separate post request in a controller method, so that they are sent one by one and only after all requests are sent, method execution is finished ?
Asked
Active
Viewed 250 times
0
-
You want to send objects from server to client or from client to server or from one server to another server? – Chetan Mar 04 '21 at 09:04
-
I use httpclient and send post request to target uri of api, which I am consuming – P3ar1baron Mar 04 '21 at 10:30
-
Then you can loop thru the collection of objects and call API for each of the objects... Did you try doing it? What's the issue you are facing? – Chetan Mar 04 '21 at 11:43