I have a data frame which I want to send it as the body of HTTP Post
request, what's the best Sparky
way to do it?
How can I control a number of HTTP requests?If the number of records gets bigger is there any way to split sending data frame into multiple HTTP Post call?
let's say my data frame is like this:
+--------------------------------------+------------+------------+------------------+| user_id | city | user_name | facebook_id |+--------------------------------------+------------+------------+------------------+| 55c3c59d-0163-46a2-b495-bc352a8de883 | Toronto | username_x | 0123482174440907 || e2ddv22d-4132-c211-4425-9933aa8de454 | Washington | username_y | 0432982476780234 |+--------------------------------------+------------+------------+------------------+
I want to have user_id
and facebook_id
in the body of HTTP Post request to this endpoint localhost:8080/api/spark