Postman 101 @getpostman

Evans Kiptoo
3 min readApr 1, 2023

--

What is Postman?

Postman is a popular tool for API development and testing. It allows developers to easily create and send HTTP requests, organize them into collections, and share them with others. Postman also provides features for automated testing and documentation generation.

So what is an API?

Think of an API as a waiter in a restaurant. You (the customer) want to order some food, but you can’t go into the kitchen and cook it yourself. So, you tell the waiter (the API) what you want, and the waiter takes your order to the kitchen (the software application) and brings back your food (the data or functionality you requested).

Just like how a waiter communicates between the customer and the kitchen, an API communicates between different software applications, allowing them to share data and functionality.

API stands for Application programming Interface. This is just a way programmers can communicate with different applications using Requests, without necessarily accessing the database. This provide a high level abstraction to databases and backend.

What is an API?

Examples of API

Google Search API

-Google Search provides powerful search results in real time. The API retrieves data from both Google web and image search.

Tiktok API(TokAPI)

Mobile version is a TikTok mobile API that allows developers to search with ease.

Twitter API

The Twitter API allows developers to search users, followers, images, tweets, media, and more.

Spotify API

Spotify Web API enables the creation of applications that can interact with Spotify’s streaming service, such as retrieving content metadata, getting recommendations, creating and managing playlists, or controlling playback.

YouTube MP3 API

The Youtube Search and Download API does exactly what it says. Search for information about channel, playlist, video, and trends in Youtube.

Read more from RapidAPI

Types of postman Requests.

What is a request?

Imagine that you’re using your web browser to visit a website. When you type the website’s address into your browser and hit enter, your browser sends a message to the website’s server asking for the website’s content. This message is called an HTTP request.

The server receives the request and sends back a response, which includes the website’s content (such as text, images, and videos) and some information about the status of the request (such as whether it was successful or not)

There are 15 Types of requests that you can make with postman, but the most popular ones are:

  1. GET: Used to retrieve data from a server.
  2. POST: Used to send data to a server to create or update a resource.
  3. PUT: Used to update an existing resource on a server.
  4. DELETE: Used to delete a resource on a server.
  5. PATCH: Used to partially update a resource on a server.

Why use Postman?

  1. Automated testing: Postman provides powerful features for automated testing, allowing developers to write test scripts to validate API responses.
  2. Documentation generation: Postman can generate documentation for APIs, making it easy for developers to share information about their APIs with others.
  3. Collaboration: Postman allows developers to organize their requests into collections and share them with others, making it easier to collaborate on API development and testing.
  4. User-friendly interface: Developers can quickly create and send requests without having to write code.

Visit Postman and get yourself a FREE account.

Happy Codding!!

Special Thanks to:

@getpostman

#PostmanStudent

#BuildwithAT

#PostmanDekut

@Africastalking

--

--