⚠️ : This project is under active development
A http client written in Go.
This project is inspired by httpie-go and httpie but has a few more features.
# Clone the repo
$ git clone https://github.com/utox39/please-http.git
# cd to the repo
$ cd path/to/please-http
# Build please
$ go build -v ./...
# Then move it somewhere in your $PATH. Here is an example:
$ mv please ~/bin
$ please get https://httpbin.org/get
$ please post https://httpbin.org/post foo=bar
$ please put https://httpbin.org/put foo=bar
$ please patch https://httpbin.org/patch foo=bar
$ please delete https://httpbin.org/delete
$ please head https://httpbin.org/
$ please options https://httpbin.org/
The --repeat flag will repeat a request n times.
$ please --repeat=5 post https://httpbin.org/post foo=bar
The --log flag will create a log.json file.
If the --repeat flag is used the --log flag will create a dir named "logs" and all the log.json files will be created inside it.
$ please --log post https://httpbin.org/post foo=bar
The --gen-chart will generate a response time chart and must be called with the --repeat flag (--repeat=n, n>= 2). You can visualize it opening the stats.html file in your browser.
$ please --repeat=5 --gen-chart post https://httpbin.org/post foo=bar
If you would like to contribute to this project just create a pull request which I will try to review as soon as possible.