Import and Authenticate Avianis API Requests in Postman

Import and Authenticate Avianis API Requests in Postman

Here’s a step-by-step guide to importing the Avianis OpenAPI URL and generating a call in Postman using Basic Authentication, as well as importing and modifying a cURL request.


Section 1: Import the Avianis OpenAPI URL into Postman

  1. Open Postman:

    • Launch Postman and open your Workspace
  2. Import OpenAPI Document:

    • Click on the Import button in the top-left corner of Postman.
    • Select Link in the Import pop-up.
  3. Enter the OpenAPI URL:

  4. Confirm Import:

    • Postman will recognize this as an OpenAPI document.
    • Click Import to add the API endpoints to your workspace.
  5. Select an Endpoint:

    • In the left sidebar, navigate to the newly imported API and expand it to see the available endpoints.
    • Select the endpoint you’d like to test (e.g., GET /connect/v1/flightleg).
  6. Set Up Basic Authentication:

    • Once on the endpoint page, go to the Authorization tab.
    • Set Type to Basic Auth.
    • Enter your Username and Password.
    • Postman will handle the base64 encoding of credentials automatically.
  7. Send the Request:

    • Click Send to execute the request.
    • View the response in the Response pane to confirm the API call was successful.

Section 2: Import cURL Request and Update Authentication

  1. Copy cURL Command:

    • Copy the cURL command below:
    1. --header 'Authorization: ••••••'

  1. Import cURL into Postman:

    • Open Postman and click the Import button.
    • In the Import pop-up, select Raw Text.
    • Paste the cURL command and click Continue.
  2. Review and Import Request:

    • Postman will recognize the cURL format and convert it into a Postman request.
    • Click Import to add it to your workspace.
  3. Update Authorization Header:

    • Go to the Authorization tab of the imported request.
    • Select Basic Auth from the Type dropdown.
    • Enter your Username and Password for authentication.
  4. Send the Request:

    • Click Send to execute the request and view the response.

    • Related Articles

    • Getting Started with Avianis API

      Introduction to the Avianis API The Avianis API provides access to Avianis data and services, enabling integration with various aviation operations. API URL: https://api.avianis.io/ OpenAPI Documentation: ...
    • Integrations

      In this area of Global Settings, you are able to connect the ARGUS, Avinode, FlightSafety International , ForeFlight, Pulsar Fatigue Meter, QuickBooks online, and Wyvern Integrations. If you do not have one of these integrations available in your ...
    • Integration: Pulsar Fatigue Meter

      This article covers the following What is Pulsar How to configure the integration How to use the integration What is Pulsar Pulsar is a software that analyzes crew fatigue levels and warns operators if they are scheduling crew that are too fatigued. ...
    • Integrations: QuickBooks Online

      The version must be Plus. The integration does not support Essentials or Simple Start. Setup Checklist: Authenticate Provide applicable users access Map cash account, expense class, expense location, invoice class, invoice location and designate ...
    • View and create Avinode requests

      The integration with Avinode allows users to submit their schedule, easily access RFQ's, and create quotes. The schedule will sync every hour with subsequent feeds which are triggered by changes that occur on the schedule, such as a new mx event, ...