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

1curl --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}