Skip to content

Conversation

@devotaaabel
Copy link
Contributor

This PR adds the ability to the MapboxDirections API to choose the appropriate http method (get vs. post) based on the length of the url. If the get url is longer than 8 * 1024 characters, then it uses post. The developer can still specify a specific method to use if they would like, and that will override this behavior.

…d and the url for a get call is longer than 1024*8
Copy link
Contributor

@Guardiola31337 Guardiola31337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @devotaaabel for running with this.

Could you cut an equivalent PR for Map Matching when you have a chance?

@devotaaabel devotaaabel merged commit fc94d0d into master Feb 22, 2019
@devotaaabel devotaaabel deleted the devota-directions-post-automatic branch February 22, 2019 18:02
@osana osana mentioned this pull request Apr 11, 2019
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants