AzureMapsCodeSamples
AzureMapsCodeSamples copied to clipboard
"Route to a destination" sample uses deprecated API version
This sample uses a api-version=1.0 parameter in its request to get a route between two points.
https://github.com/Azure-Samples/AzureMapsCodeSamples/blob/main/Samples/Tutorials/Route/Route%20to%20a%20destination.html
This version is deprecated and going to be retired. The get route API call in the new version is changing from GET to POST.
https://learn.microsoft.com/en-us/rest/api/maps/route/get-route-directions?view=rest-maps-1.0&tabs=HTTP
The sample needs to be updated to use the new API version and methodology.