graphhopper / directions-api-js-client

JavaScript client for the GraphHopper Directions API
https://graphhopper.com/api/1/examples
108 stars 85 forks source link

Simplify #66

Closed karussell closed 2 years ago

karussell commented 2 years ago

This is a breaking change.

This PR tries to make the usage of the APIs as similar as possible and reduces external dependencies. Now the host and default query parameter are now in a different variable making the code much simpler. Furthermore the Routing API uses the POST request to utilize the new custom_model feature.

As a result nearly all security problems are resolved.