A lightweight and easy-to-use command-line HTTP client for making requests and inspecting responses.
- Simple and intuitive: Makes it easy to send HTTP requests from the command line.
- Supports JSON and plain text: Automatically detects and parses JSON responses.
- Handles errors gracefully: Provides clear error messages for failed requests.
-
Clone the repository:
git clone https://github.com/codingashishdev/httpal.git
-
Install the dependencies:
npm install
-
Build the project:
npm run build
To make a request, simply run the following command:
npm start -- <url>For example:
npm start -- https://api.github.com/users/google- Add support for different HTTP methods (POST, PUT, DELETE, etc.).
- Allow users to specify headers and request bodies.
- Add a verbose mode to display detailed request and response information.
- Implement a testing suite to ensure the reliability of the tool.