Crash Course Logo

Postman Fundamentals

While RESTful APIs can be very powerful and are extremely useful, dealing with them can come with a lot of pain points. API keys, different URLs, request parameters, just to name a few. In Postman Fundamentals, you’ll learn how using an API client like Postman can make life easier while dealing with APIs. Millions of developers across the world use Postman to create requests and design, document, and test APIs.

We’ll start with a brief overview of RESTful APIs and the API-first world and then talk about how using collections and variables in Postman can improve your interactions with RESTful APIs.

What To Bring

Bring a computer with the Postman API Client installed. We’ll also have some time at the beginning of the talk to download the client.

This talks is most useful when you have some experience building or using RESTful APIs (i.e. GET, POST, etc. requests) so you can see exactly which parts of the puzzle Postman can help with.


Milestone 0

Download the API Client

Milestone 1

cURL: Google

curl --X GET '' >> get_google.html
open get_google.html

Postman: Google


Documentation: OpenWeatherMap Current Weather Data API

Postman: OpenWeatherMap


cURL: OpenWeatherMap

curl -X GET ''

Milestone 2

Documentation: Restful-booker

Postman: Get All Bookings


Postman: Create a Booking


Booking Information (Body → Raw → JSON)

    "firstname": "John",
    "lastname": "Appleseed",
    "totalprice": 15151,
    "depositpaid": true,
    "bookingdates": {
        "checkin": "2019-10-25",
        "checkout": "2019-10-26"

Postman: Delete a Booking


Postman: Authorization


Credentials (Body → Raw → JSON)

    "username" : "admin",
    "password" : "password123"

Postman: Delete a Booking (successfully!)


Authorization (Header)

    "cookie" : "token="

Milestone 3

Postman: Get all Bookings Test

pm.test("Status code is 200", function () {;

pm.test("Response time is less than 200ms", function () {


Background on Backend Frameworks

  1. Flask
  2. Node.js

Additional Postman Material

  1. Postman Learning Center