MREST-CLI(1p)

πŸ“¦
version 0.284 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ‘‘ 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 πŸŽ€


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