Basic Directions Fast - POST Request

Implement Using: Directions Fast API

Let’s see how to build a POST method request for Direction Fast API for the same scenario from the curbside example.

Request

1
curl --location 'https://api.nextbillion.io/directions/json?key=<your_api_key>'
2
--header 'Content-Type: application/json'
3
--data '{...}'

Response

1
{
2
"status": "Ok",
3
"routes": [...]
4
}

© 2024 NextBillion.ai all rights reserved.