Software & ToolsTech & Platforms
A Step by Step Guide to Manual Web API Testing with Postman

Whether you are a developer, tester, or manager, understanding different API methods can sometimes be a challenge when building and consuming applications. Creating good documentation and help pages for a Web API using Postman provides an easy way to execute and review HTTP requests.
Below is a step-by-step guide on how to test various methods (GET, POST, PUT, and DELETE) using Postman:
Initial Preparation
- First, download and install the Postman application, which is used for testing API requests.
- Prepare the base address (local port number) for your project (note that your local port may vary depending on your project configuration).
http://localhost:your_port/api/GetAllTodos// GEThttp://localhost:your_port/api/AddTodo// POSThttp://localhost:your_port/api/UpdateTodo// PUThttp://localhost:your_port/api/DeleteTodo/5// DELETE
1. Testing the GET Method with Postman
- Set the HTTP action from the drop-down list to GET.
- Enter the API URL for retrieving data (e.g.,
GetAllTodos) in the appropriate field. - Click the blue Send button.
- If the request is successful, the 200 OK status along with the returned data will be displayed.
2. Testing the POST Method with Postman
- Set the HTTP action from the drop-down list to POST.
- Enter the URL for adding data (e.g.,
AddTodo) in the API URL field. - Since this API accepts a new object in JSON format, select the Body tab.
- Check the raw option.
- Set the text format to JSON (application/json).
- Write or paste your target JSON data.
- Click the blue Send button.
- If successful, the 200 OK status along with the returned value will be shown in the response body.
3. Testing the PUT Method with Postman
- Set the HTTP action from the drop-down list to PUT.
- Enter the URL for updating data (e.g.,
UpdateTodo) in the URL field. - To send edited information in JSON format, select the Body tab and check the raw option.
- Set the text format to JSON (application/json).
- Write or paste the JSON data containing the updated information.
- Click the blue Send button.
- If the operation is successful, the 200 OK status and the updated result will be visible in the Body tab.
4. Testing the DELETE Method with Postman
- Set the HTTP action from the drop-down list to DELETE.
- Enter the URL for deletion along with the target identifier (e.g.,
DeleteTodo/5) in the API URL field. - Click the blue Send button.
- If the deletion operation completes successfully, you will receive a 200 OK status.
This tutorial covered the first part of manual testing with Postman. Future parts can explore automated testing and writing scripts for integration test cases.
#Postman #API #WebAPI #Testing #Automation



