-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added directions POST support #975
Conversation
* Use POST method to request data. | ||
* The default is to use GET. | ||
* @return this builder for chaining options together | ||
* @since 4.4.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should it be 4.6.0?
/** | ||
* Use GET method to request data. | ||
* @return this builder for chaining options together | ||
* @since 4.4.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should it be 4.6.0?
|
||
@Test | ||
public void testPost() throws IOException { | ||
MapboxDirections mapboxDirections = MapboxDirections.builder() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should you add a post fixture to avoid the bug that you found in MapboxMapMatching?
This PR adds support for POST requests to the directions API.
Closes #957