P-1 Manual Testing of REST API using POSTMAN

Опубликовано: 21 Ноябрь 2023
на канале: Selenium Java
218
11

Endpoints using HTTP methods (GET, PUT, POST, DELETE) in Postman.

GET:

Purpose: Retrieve data from a specified resource.
Use Case: Used when you want to read or fetch information from a server.
Idempotent: Yes (Making multiple identical requests should have the same effect as a single request.)

PUT:
Purpose: Update a resource or create a new resource if it does not exist at a specified URI.
Use Case: Used when you want to update existing data or create a new resource at a specific URL.
Idempotent: Yes (Multiple identical requests should have the same effect as a single request.)


POST:
Purpose: Submit data to be processed to a specified resource.
Use Case: Used when you want to create a new resource or send data to be processed by the identified resource.
Idempotent: No (Multiple identical requests may have different effects.)


DELETE:
Purpose: Request that a resource be removed or deleted.
Use Case: Used when you want to delete a resource identified by a specific URL.
Idempotent: Yes (Multiple identical requests should have the same effect as a single request.)