Postman collection Locate2u API
Don’t want to write the code? Here we have the Postman collection of Locate2u API for you. You can explore and make requests using these APIs without having to write the code.
Get going and start using Locate2u APIs through postman. Locate2u provides a collection of API endpoints which you can call and play around without writing the code.
This collection of APIs from Locate2u allows you to send requests using almost every single public API endpoint. All you need to do is to have a Locate2u account and generate keys. You can refer to our documentation on how to get started with Locate2u and generate API keys. Along with this you will need a Postman account as well.
Developers can use Postman Desktop app or web application depending on their choice. Now when you have all these in place you can download our postman collection json file, click here to download.
Once you have downloaded the Locate2u API collection, you can simply import it on your postman account :
After your import is completed you can see the list of APIs under the name of Locate2u.
Next step here is to set up the authorization and generate a token which can then be used across all these API calls through Postman.
Select the Locate2u API from the collections menu. Navigate to “Variables” section and set these 4 variables :
baseUrl | Initial value = https://api.locate2u.com Current value = https://api.locate2u.com |
idserverUrl | Initial value = https://id.locate2u.com Current value = https://id.locate2u.com |
client_id | = yourApplicationClient from Locate2u |
Client_secret | = yourApplicationClientSecret from Locate2u |
Select authorization type | oAuth 2.0 – Add auth data to = Request URL – Header Prefix = Bearer |
Configure New Token set : Token name | = Locate2u Auth |
Access token URL | = {{idserverUrl}}/connect/token |
Client Id | = {{client_id}} |
Client Secret | = {{client_secret}} |
Scope | = locate2u.api |
Client Authentication | = Send client credentials in body |
Refresh Token URL | = {{idserverUrl}}/connect/token |
Once you have set up all these, please click on the “Get New Access Token” button at the bottom. Upon successful authentication a token will be returned, please click on “Use token” button to use this access token to make all the api requests from Locate2u collection.
For using this access token for a particular endpoint request please select :
Authorization type = Inherit from Parent.
And that is it, you are all set up to explore the powerful Locate2u APIs through Postman.