go get github.com/kassy11/mycurl
cd $GOPATH/src/github.com/kassy11/mycurl
make
- GET
./mycurl -v -o test.txt "http://httpbin.org/get"
- POST
./mycurl -X POST -v -d 'key=value&key2=value2' -o test.txt "http://httpbin.org/post"
kassy11 / mycurl Goto Github PK
View Code? Open in Web Editor NEWcurl by Golang