An API request lets you contact a server with API endpoints that you want to reach and perform some action. Those actions are HTTP methods.
The most common methods are GET, POST, PUT, and DELETE. The names of the methods are self-explanatory. For example GET enables you to retrieve data from a server. POST enables you to add data to an existing file or resource in a server. PUT lets you replace an existing file or resource in a server. And DELETE lets you delete data from a server.
Postman makes sending API requests simple. Instead of testing your APIs through a command line or terminal, we offer an intuitive graphical interface that is quick to learn and rewarding to master.
As you can see in the image below, when you enter a request in Postman and click the Send button, the server receives your request and returns a response that Postman displays in the interface.
Now let’s send our first API request!
Enter postman-echo.com/get
into the URL field.
Click the Send button to send your request. Note the JSON data response from the server.
Notice that Postman adds postman-echo.com/get
under the History tab of the sidebar. You can click the Save button to save a request to use later.
postman-echo.com
is a sample API that Postman hosts for you to experiment with various types of requests. It returns the data that you send in the request as part of its response.
To learn more about Postman Echo, see the documentation for this sample API.
For more information about requests, see: