Original post

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" }

1 points posted by miguel