A stripped-down, static alternative to curl
. Useful for HEALTHCHECKs in Docker.
$ go get github.com/parkr/go-curl/...
$ go-curl -h
$ go-curl <url>
Want it to fail on non-200's? Pass the -f
flag:
$ go-curl -f <url>
MIT. See LICENSE
in this repository.