๐Ÿ”ฅ 0
โญ 0

Setting Up Postman

Postman is the most popular API testing tool - used by over 25 million developers. Let's get it set up.

Installing Postman

Option 1: Desktop App (Recommended)

  • Go to [postman.com/downloads](https://www.postman.com/downloads/)
  • Download for your OS (Windows, Mac, or Linux)
  • Install and launch

Option 2: Web Version

Visit [web.postman.co](https://web.postman.co) to use Postman in your browser.

> Tip: The desktop app is better for testing local APIs (localhost).

---

Creating an Account

While optional, a free account lets you:

  • Sync collections across devices
  • Collaborate with team members
  • Access cloud features

Click Sign Up and create an account with email or Google.

---

The Postman Interface

Let's understand the key areas:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  [New] [Import]                              [Workspaces โ–ผ]     โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚              โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚  Collections โ”‚  โ”‚ GET โ–ผ โ”‚ https://api.example.com/products   โ”‚ โ”‚
โ”‚              โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ”‚  โ—‹ My Shop   โ”‚                                                  โ”‚
โ”‚    โ”” Productsโ”‚  Params  Auth  Headers  Body  Pre-req  Tests    โ”‚
โ”‚    โ”” Cart    โ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€  โ”‚
โ”‚    โ”” Orders  โ”‚                                                  โ”‚
โ”‚              โ”‚                                                  โ”‚
โ”‚  Environmentsโ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚
โ”‚  โ—‹ Dev       โ”‚  Response                                        โ”‚
โ”‚  โ—‹ Staging   โ”‚  Body  Cookies  Headers  Test Results           โ”‚
โ”‚  โ—‹ Prod      โ”‚                                                  โ”‚
โ”‚              โ”‚  { "products": [...] }                           โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Key Areas:

AreaPurpose
SidebarCollections, environments, history
Request URLWhere you enter the API endpoint
Method dropdownGET, POST, PUT, DELETE, etc.
Request tabsParams, Headers, Body, Tests
Response sectionShows API response, status, time

---

Creating Your First Workspace

Workspaces help organize your API testing projects.

  • Click Workspaces in the header
  • Click Create Workspace
  • Name it: E-commerce API Testing
  • Choose Personal (or Team if collaborating)
  • Click Create

---

Creating a Collection

Collections group related API requests together.

  • In the sidebar, click + next to Collections
  • Name it: Shop API
  • Add a description: API tests for our e-commerce platform

Your collection structure will look like:

๐Ÿ“ Shop API
  ๐Ÿ“ Products
     GET List Products
     GET Get Product by ID
     GET Search Products
  ๐Ÿ“ Cart
     GET View Cart
     POST Add to Cart
     DELETE Remove from Cart
  ๐Ÿ“ Orders
     POST Create Order
     GET Get Order Status

---

Quick Settings to Configure

1. SSL Certificate Verification

For local development (localhost), you might need to disable SSL verification:

Settings โ†’ General โ†’ SSL certificate verification โ†’ OFF

> Only disable for local testing, never for production APIs!

2. Request Timeout

Default is 0 (infinite). Set a reasonable timeout:

Settings โ†’ General โ†’ Request timeout โ†’ 30000 (30 seconds)

3. Auto-save

Enable auto-save to never lose your work:

Settings โ†’ General โ†’ Autosave โ†’ ON

---

Testing Your Setup

Let's verify Postman is working with a simple public API:

  • Click + to open a new request tab
  • Enter this URL: https://jsonplaceholder.typicode.com/posts/1
  • Make sure GET is selected
  • Click Send

You should see:

{
  "userId": 1,
  "id": 1,
  "title": "sunt aut facere repellat provident occaecati excepturi",
  "body": "quia et suscipit\nsuscipit recusandae..."
}
Check the response panel:
  • Status: 200 OK โœ…
  • Time: Should be under 1 second
  • Size: Shows response size in bytes

---

Keyboard Shortcuts

Speed up your workflow:

ActionWindows/LinuxMac
Send requestCtrl + EnterCmd + Enter
New requestCtrl + NCmd + N
Save requestCtrl + SCmd + S
New tabCtrl + TCmd + T
Close tabCtrl + WCmd + W
SearchCtrl + KCmd + K

---

Practice: Create Your Structure

Set up folders for our e-commerce API testing:

  • Create Collection: Shop API
  • Add Folders:
- Products

- Cart

- Orders

- Users

Right-click collection โ†’ Add Folder

Your sidebar should look like:

๐Ÿ“ Shop API
  ๐Ÿ“ Products
  ๐Ÿ“ Cart
  ๐Ÿ“ Orders
  ๐Ÿ“ Users

---

Key Takeaways

  • Postman is available as desktop app or web version
  • Workspaces organize your projects
  • Collections group related API requests
  • Folders within collections keep things tidy
  • Learn keyboard shortcuts to work faster

Next up: Your First API Request - let's send some real requests!

Introduction to API Testing