This repository contains REST API project created using Postman. Project demonstrate the use of core HTTP methods such as GET, POST, PUT, PATCH, and DELETE. The project include a collection of requests, an environment file for dynamic variables, and a runner collection for executing tests in a specified order.
REST API.postman_collection.json
: A collection of HTTP requests, showcasing various API operations (GET, POST, PUT, PATCH, DELETE).
REST API Runner.postman_collection.json
: A runner collection that executes the API requests in a specific sequence. This can be used for running tests in a predefined order.
REST API.postman_environment.json
: Environment file containing variables that are reused across requests in the collection (e.g.,baseURI
,objectID
).
Each project supports the following functionalities:
- GET: Retrieve data from the API.
- POST: Create new data in the API.
- PUT: Update existing data.
- PATCH: Partially update existing data.
- DELETE: Remove data.
- Manual API Execution: All API requests are run manually using Postman.
- Environment Variables: The use of dynamic environment variables (e.g.,
objectID
) for flexible testing. - Collection Runner: Execute the API requests in a pre-defined order through the Postman Runner.
- Clone or download the repository.
- Open Postman.
- Import the following files into Postman:
REST API.postman_collection.json
REST API Runner.postman_collection.json
REST API.postman_environment.json
- Set the imported environment as active.
- You can manually run individual requests or use the Postman Collection Runner to execute the tests in sequence.
This project is designed to showcase basic REST API operations and test them manually through Postman. They do not include automation but provide a foundation for understanding API interactions and testing.