This repository contains scripts for learning and practicing API automation using Python. It includes examples of GET, DELETE, and POST requests, handling HTTP headers, parsing JSON responses, and working with cookies and user agents. The focus is on using the requests
library along with pytest
to write automated tests for various API endpoints.
- API_automation: Scripts for basic API requests like GET, DELETE, and handling HTTP headers.
- pytest_REST_API: Automated tests using
pytest
to validate different API behaviors. - Utilities: Helper functions, JSON parsing examples, and user-agent handling examples.
- Python: Programming language for scripting.
- Requests: For making HTTP requests.
- pytest: For automating API tests.