Assigned
Status Update
Comments
ra...@google.com <ra...@google.com> #2
The engineering team is aware of this request and are currently investigating it. There is no ETA at this time for a release, but all further communications should occur here.
we...@gmail.com <we...@gmail.com> #3 Restricted
Restricted
pa...@gmail.com <pa...@gmail.com> #4
Can you share an update regarding this request?
Description
Feature Request
What would you like to see us add to this API?
I would like the Routes API to continue working in Web Browsers. While the documentation currently describes how the Routes API can be used server-side via CURL and other tools, the API works just fine in a browser using
fetch()
if you set the right headers.After chatting with "miguev@" in Discord, they mentioned this was not a supported use case and I should file a Feature Request.
I have several projects that use the JavaScript Distance Matrix API and want to migrate them to the new Routes API to achieve better performance and reduce the amount of JS code they depend on. I saw this new API supports GCP OAuth-style authentication so I was able to easily generate some short-lived JWTs to authenticate and improve the security of my application too.