b(uild c)url

burl builds curl commands. that’s about it.

install

go install github.com/philippta/[email protected]

usage

  1. run burl
  2. fill in request parameters
  3. hit enter
  4. enjoy the curl command

$ burl
curl https://www.example.com/endpoint
  -X POST
  -H Content-Type: application/json
  -d {"foo":"bar"}

<ctrl-h> header | <ctrl-d> data | <ctrl-x> remove | <enter> build

$ curl https://www.example.com/endpoint -X POST -H 'Content-Type: application/json' -d '{"foo":"bar"}'

license

MIT

GitHub

View Github