MREST-CLI(1p)
π MREST-CLI(1p) β the Web::MREST demo/testing command-line client π
okay bestie, buckle up β this is mrest-cli, and it lives in the User Contributed Perl Documentation part of your man pages, section 1p. she's a command-line client, she's here to let you poke at a Web::MREST server, and she's lowkey iconic. let's go π¦
β¨ SYNOPSIS β¨
get ur help, bestie:
$ mrest-cli -h
--help -h Get help
--sitedir -s Specify sitedir (defaults to none)
and here's the actual vibe β just run her with no args and chat with the server:
$ mrest-cli
Web::MREST> get bugreport
DISPATCH_BUGREPORT (OK) See payload for bug reporting instructions
HTTP status: 200 OK
Non-suppressed headers: {
'X-Web-Machine-Trace' => 'b13,b12,b11,b10,b9,b8,b7,b6,b5,b4,b3,c3,c4,d4,e5,f6,g7,g8,h10,i12,l13,m16,n16,o16,o18,o18b'
}
Response: {
'report_bugs_to' => 'bug-App-MREST@rt.cpan.org'
}
see how it just answered? slay. π
πΈ DESCRIPTION πΈ
so like, this is the Web::MREST demo/testing command line interface β the CLI, if you wanna be formal about it. her whole thing is letting you, the user, generate HTTP requests to the REST server and then peek at whatever the server says back. the full set is right there:
- GET
- PUT
- POST
- DELETE
every single REST resource comes with its own documented CLI syntax, and you can go look at that syntax by querying the REST server β e.g., via a web browser. no cap. π₯
question of the day: how do you find out what a resource even does? you ask the server, bestie. she'll tell you.
want the full lore? it's at <http://metacpan.org/pod/Web::MREST> β go read it, fr fr πβ¨
π SEE ALSO π
- <http://metacpan.org/pod/Web::MREST> β the mothership docs π«Ά
and that's the whole page, bestie! this lovely little doc is MREST-CLI(1p), brought to you by perl v5.40.1, dated 2025-06-08 β so you know exactly which era of iconic this is from. go forth and get bugreport. ππ§π
π¦ where this page comes from
- ubuntu resolute: libweb-mrest-cli-perl 0.284-3 Β· BSD-3-Clause
- ubuntu stonking: libweb-mrest-cli-perl 0.284-3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms