Learn more about the request parameter
The route array contains multiple objects of waypoints
JSON.stringifythe waypoints array before adding as query params.
"t": "Berlin", // required
"c": "DEU" // optional
The waypoints consists of a required "t" property which can include the following information to describe a waypoint:
If you need distances and durations of car routes between the waypoints
If you need distances and durations of foot route between the waypoints