Simple and fast CLI to make HTTP request in a convenient and straightforward way
Tired of curl? Postman is too weighty? Or maybe you just want an easy tool to test your APIs in a fast way. I think that you will find in httcli a response to all of your requests!
- Very fast and pretty light (damn Go, you create some big binaries at times)
- Easy to use
- Totally written in Go
Download the corresponding httcli binary for your system from the releases (the one without extension for Linux, the .exe one for Windows) and put it in a directory included in your system PATH variable (for Linux it usually is /usr/share/bin, for Windows C:/Windows/system32)
Or, if you have the Go compiler, just download this repository and run, in this repository root directory, go install ./src/httcli.go
. This should be valid for all Operating Systems.
Simply write httcli
in terminal to start the CLI.
It is pretty straightforward. Select the type of request, write the host of the request, a path for the file that will be used for the body (I used this option because I thought that letting the user use the editor he wants would be better, than to force him using a specific editor), add some header if you need and click on the "Send Request" button. A request will be made and you will see all the informations of the response in the center section of the screen. There is also an history of the requests, so you can make a request you did earlier just by clicking on the request you want from the history!
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. There is already a template for pull requests and issues.
For any problem regarding httcli, you can always open an issue! If you want to contact me, feel free to write me at gianlutara@gmail.com