

Use the URL field to set the endpoint URL.Since the GET method is selected by default, you don’t need to select the method.Pick a name that suits your request best.icon, and then click on the Add request link. Add a new request by hovering your mouse over your collection of choice (if you don’t have any, please create one now), click on the little.

Follow the below steps to make your first request in Postman. Typically, we use GET requests for retrieving data from an API. With the core concepts out of our way, let’s use Postman for sending a basic GET request. For more information about the available endpoints, please consult the documentation for each API. If that’s the case, you can use Rick & Morty API or HTTP Bin API. The chances are that you don’t have an API handy to try out Postman with it. Requests are defined and configured by you using the Postman GUI. Postman’s requests are instructions for Postman to send HTTP requests to any API. As the name suggests, collections help you organize your workspace.Ĭollections offer features to collaborate with the team members, generate tests for your API, run the requests automatically, authorization config, pre-request scripts, and any variables you want to share among the collection’s requests. Postman’s API testing features are available for Personal, Private, and Public workspaces.Ī Postman collection consists of a group of HTTP requests. They are searchable and accessible for free. Public Workspaces allow you to share your APIs with the world.Then, you can organize it into folders and share it with your workspace members. Private workspace is only available to people who you invite to collaborate within the workspace.Personal workspace, as the name suggests, is for personal usage.There are three kinds of workspaces in Postman: The features include making requests, Inspecting responses, embedding global and Environment variables, and writing tests in Javascript, so without further ado, let’s start with some core concepts of Postman.Ī Postman workspace is where you can organize your API and team up with others in your organization.
#Postman online how to
Postman offers many features, though in this article, we will talk about how to test your API.
#Postman online code
Postman test to check status code is not 404.Postman test to check whether status is 200 or 201.Postman test to check whether status is 200 OK.This article will use Postman & Javascript for API testing. API testing is the process of verifying that your Application Programming Interface (API) is working correctly. Postman helps you build APIs by providing tools to capture, validate, and test requests and responses. Postman is a tool to help you develop APIs.
