This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
Hi there,
I would like to post a json request to an api with the locations on my base. The json structure looks like this:
{
"stops": [
{
"id": "order-1-dropoff",
"position": {
"lon": -96.7524,
"lat": 32.65764
...
Thank you!
I have worked with simple api requests before however they were only for sending one record from my base to the api. In this case I need to send all of my records in one single request. I have used something like this before:
let body = {...