b(uild c)url
burl builds curl commands. that’s about it.
install
go install github.com/philippta/[email protected]
usage
- run burl
- fill in request parameters
- hit enter
- 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"}'