Command-line Basics: Network Requests

1 · · June 29, 2019, 8:23 p.m.
Making network requests from the command-line comes in a variety of shapes and sizes. Some folks swear by curl others love wget. For me, I love the lwp-request package which provides familiarly named GET, POST and HEAD commands. The third of the list, HEAD, is something I use quite regularly to troubleshoot the headers returned by servers. Getting started The commands we’re going to use are provided by a package called lwp-request. The package in question is written in Perl and tends to come sta...