Merge pull request #116 from ItsIgnacioPortal/patch-1
Added more tests for Mapbox API tokens
This commit is contained in:
@@ -382,6 +382,12 @@ Mapbox secret keys start with `sk`, rest start with `pk` (public token), `sk` (s
|
||||
|
||||
```
|
||||
curl "https://api.mapbox.com/geocoding/v5/mapbox.places/Los%20Angeles.json?access_token=ACCESS_TOKEN"
|
||||
|
||||
#Check token validity
|
||||
curl "https://api.mapbox.com/tokens/v2?access_token=YOUR_MAPBOX_ACCESS_TOKEN"
|
||||
|
||||
#Get list of all tokens associated with an account. (only works if the token is a Secret Token (sk), and has the appropiate scope)
|
||||
curl "https://api.mapbox.com/tokens/v2/MAPBOX_USERNAME_HERE?access_token=YOUR_MAPBOX_ACCESS_TOKEN"
|
||||
```
|
||||
|
||||
## [Salesforce API key](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/quickstart_oauth.htm)
|
||||
|
||||
Reference in New Issue
Block a user