#http #client

app url-cli

Convenient command line interface to urls

1 unstable release

0.2.0 Feb 5, 2023

#2398 in Web programming


275 lines


Convenient command line interface to urls.

There are subcommands for different http methods (verbs). If there is a response body, it will be written to standard output. There is a --verbose option to get the request and response headers written to standard error, and various options for creating the response. If standard out is a terminal, text output will be decoded and written as utf-8. If standard out is not a terminal, the exact bytes of the response body will be written as is.


The url command line is open source. If you find a problem, please report an issue. If you can and want to, you may even get the code, change it to fix the problem and submit your changes as a pull request, so it can be included in the next release.


~333K SLoC