Skip to content

Commit

Permalink
Added more tests for Mapbox API tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsIgnacioPortal authored Feb 16, 2022
1 parent 2895606 commit e6db85a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e6db85a

Please sign in to comment.