4 A powerful HTTP CLI client written in Go.

github.com godoc.org goreportcard.com posted by miguel 1836 days ago  

You can use go-http-cli similarly as you use cURL. The most commonly used options are available and the same.

So you can do something like:

$ http \
  -H Content-Type:application/json \
-X POST \
-d '{ "name": "John Doe" }' \
https://httpbin.org/post?companyId=1234

Will execute the following:

POST https://httpbin.org/post?companyId=1234
Content-Type: application/json
{ "name": "John Doe" }
Register to comment or vote on this story