Testing Public API with Postman (2024)

Postman is a popular API testing tool. We recommend trying out several DirectScale Public API endpoints to get of feel for them before using them in your source code. With this guide, you'll learn how to create a basic call with Postman.

  1. Locate your API Key. You can find your Ocp-Apim-Subscription-Key in your Profile or the Try It section of the API Documentation Site.

    Testing Public API with Postman (1)

  2. In the API Docs, note the verb (GET, POST, PUT, PATCH, and DELETE) used.

  3. Find the Request URL of the call you’d like to make.

    Testing Public API with Postman (2)

  4. Note the endpoint's Request Parameters (for example, {customerId}). You’ll be inserting the parameter values in the URL as part of the call.

    Testing Public API with Postman (3)

Open Postman and create a New Request.

  1. Paste the Request URL and enter any Request Parameter values in the URL.

    Testing Public API with Postman (4)

  2. Select the proper verb from the dropdown.

    Testing Public API with Postman (5)

  3. Under the Headers tab:

    1. In the KEY column, enter "ocp-apim-subscription-key"
    2. In the VALUE column, enter your secret API Key.

    Testing Public API with Postman (6)

  4. You can leave all other settings to the default.

  5. If doing a non-GET call, add a JSON request body.

    1. In the API Docs, copy the endpoint's request body.
    2. In Postman, click the Body tab.
    3. Click the dropdown and select Raw.
    4. Select JSON from the language dropdown.
    5. Paste the request body.

    Testing Public API with Postman (7)

  6. Click the Send button.

    Testing Public API with Postman (8)

    If successful, the response body will appear.

    Testing Public API with Postman (9)

Updated almost 3 years ago

Testing Public API with Postman (2024)
Top Articles
Brandwatch | TikTok analytic tips
What Is A Bank And How Does It Work?
Urist Mcenforcer
Euro (EUR), aktuální kurzy měn
What is Mercantilism?
Myexperience Login Northwell
The Daily News Leader from Staunton, Virginia
Ixl Elmoreco.com
How to change your Android phone's default Google account
Trade Chart Dave Richard
CSC error CS0006: Metadata file 'SonarAnalyzer.dll' could not be found
Visustella Battle Core
Waive Upgrade Fee
R Tiktoksweets
MindWare : Customer Reviews : Hocus Pocus Magic Show Kit
My.doculivery.com/Crowncork
Mephisto Summoners War
Help with Choosing Parts
Diamond Piers Menards
Dirt Removal in Burnet, TX ~ Instant Upfront Pricing
How to Create Your Very Own Crossword Puzzle
CVS Near Me | Columbus, NE
Walmart Near South Lake Tahoe Ca
Amazing Lash Studio Casa Linda
Thick Ebony Trans
3Movierulz
Craigs List Jonesboro Ar
The Boogeyman (Film, 2023) - MovieMeter.nl
Craigslist Ludington Michigan
Striffler-Hamby Mortuary - Phenix City Obituaries
Ofw Pinoy Channel Su
Xfinity Outage Map Lacey Wa
Bernie Platt, former Cherry Hill mayor and funeral home magnate, has died at 90
Kelsey Mcewen Photos
Hellgirl000
8 Ball Pool Unblocked Cool Math Games
Columbia Ms Buy Sell Trade
Linda Sublette Actress
Easy Pigs in a Blanket Recipe - Emmandi's Kitchen
Urban Blight Crossword Clue
Mytime Maple Grove Hospital
Lima Crime Stoppers
Luvsquad-Links
Craigslist Antique
Reilly Auto Parts Store Hours
Florida Lottery Powerball Double Play
What is a lifetime maximum benefit? | healthinsurance.org
Race Deepwoken
Besoldungstabellen | Niedersächsisches Landesamt für Bezüge und Versorgung (NLBV)
Lake County Fl Trash Pickup Schedule
Predator revo radial owners
Latest Posts
Article information

Author: Kimberely Baumbach CPA

Last Updated:

Views: 5738

Rating: 4 / 5 (41 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Kimberely Baumbach CPA

Birthday: 1996-01-14

Address: 8381 Boyce Course, Imeldachester, ND 74681

Phone: +3571286597580

Job: Product Banking Analyst

Hobby: Cosplaying, Inline skating, Amateur radio, Baton twirling, Mountaineering, Flying, Archery

Introduction: My name is Kimberely Baumbach CPA, I am a gorgeous, bright, charming, encouraging, zealous, lively, good person who loves writing and wants to share my knowledge and understanding with you.