DEV Community

Ezhil Abinaya K
Ezhil Abinaya K

Posted on

PostMan API Testing

Postman
Postman is a widely used API testing tool that helps developers and testers send requests, validate responses, and automate API workflows efficiently.

  • Simplifies API testing with an easy-to-use interface.
  • Supports CRUD operations such as GET, POST, PUT, and DELETE.
  • Allows automation of API tests using JavaScript scripts.

CRUD Operations with Postman
Create: Adds new data (POST).
Read: Retrieves existing data (GET).
Update: Modifies existing data (PUT).
Delete: Removes data (DELETE).
Sending a Post Request
A POST request is used to send data to the server, such as submitting a form. In Postman, choose POST, go to the Body tab, and enter the required data in form-data or raw JSON format. After clicking Send, the server responds to confirm whether the data was successfully received.

Change the HTTP method of the next request to POST. In Postman, use the Body tab instead of the Params tab.This is used to send the form data with the required key-value pairs.


References
https://www.geeksforgeeks.org/software-engineering/basics-of-api-testing-using-postman/
https://www.geeksforgeeks.org/web-tech/introduction-postman-api-development/

Top comments (0)