Testing with Postman
Importing the Postman Collection
To get started with testing the SafeSky UAV API, follow these steps to import the provided Postman Collection:
Download the Postman Collection: Make sure you have theSafeSky UAV API.postman_collection.jsonfile available.-
Open Postman: Launch the Postman application.
-
Import the Collection:
- Click on the Import button in the top left corner of Postman.
SelectPaste thedownloadedfollowingJSONURLfile (SafeSky UAV API.postman_collection.json)https://tinyurl.com/yc4vnxrp and click Continue to complete the import.
Setting Up Authorization
To use the SafeSky API, you'll need to configure your API key:
-
Open the Imported Collection: Locate the SafeSky UAV API collection that you imported.
-
Set Authorization:
- Click on the three dots next to the collection name and choose Edit.
- Go to the Authorization tab.
- Verify that the Type is set to
API Key
. - Enter the following:
-
Key:
x-api-key
-
Value:
<your_api_key>
(replace<your_api_key>
with the actual API key you received).
-
Key:
- Click Save.
Start Testing
Once the collection is imported and the authorization is set up, you can start sending requests to the SafeSky API. Each request in the collection is pre-configured with sample tests to help you get started easily.