Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Directions requests made in POST format require access token as part of URL #272

@danpat

Description

@danpat

The Directions and Map Matching APIs support submitting requests via HTTP POST when the size of the request is large.

Per https://docs.mapbox.com/api/navigation/#using-http-post, they need the access_token to be part of the URL string, and all other parameters to be part of the POST body.

It looks like the default behaviour of requests is to put the access_token into the POST body, which will lead to authentication failures if a Directions or Map Matching request is submitted via POST.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions