Skip to main content

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:

  1. Download the Postman Collection: Make sure you have the SafeSky UAV API.postman_collection.json file available.

  2. Open Postman: Launch the Postman application.

  3. Import the Collection:

    • Click on the Import button in the top left corner of Postman.
    • Select Paste the downloadedfollowing JSONURL file (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:

  1. Open the Imported Collection: Locate the SafeSky UAV API collection that you imported.

  2. 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).
    • 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.