powered by
get_route_directions
A sample response obtained from the get_route_directions function
a httr2 response object
httr2
Sample of the call based on the API documentation in https://learn.microsoft.com/en-us/rest/api/maps/route/post-route-directions?view=rest-maps-2025-01-01&tabs=HTTP#examples