RESTX

Description
A Python CLI application for sending HTTP requests using different methods (GET, POST, PUT, PATCH, DELETE).
Installation
Using pip
pip install restx
Or using poetry
poetry add restx
Usage
HTTP GET (All Records)
restx get <url_with_endpoint>
HTTP GET (Read Single Record)
restx get <url_with_endpoint>
HTTP POST (Create a Record)
restx post <url_with_endpoint> --payload '<json payload>'
HTTP PUT (Update a Record)
restx put <url_with_endpoint> --payload '<json payload>'
HTTP PATCH (Partial Update a Record)
restx patch <url_with_endpoint> --payload '<json payload>'
HTTP DELETE (Delete a Record)
restx delete <url_with_endpoint> --payload '<json payload>'
restx <command> <url> --header '<json header>'
For help
restx --help
restx <get|post|put|patch|delete> --help
Contributions
Contributions are welcome! Please follow these guidelines:
- Submit bug reports or feature requests through the issue tracker.
- Set up a development environment by cloning the repository and installing dependencies.
License
This project is licensed under the MIT. See the LICENSE file for details.