NAME
Plack::Middleware::Curlizer - Building Curl Command from Plack Request
SYNOPSIS
enable 'Curlizer',
callback => sub {
my ($curl, $req, $env) = @_;
print "$curl\n";
};
DESCRIPTION
Plack::Middleware::Curlizer gives you a command line for an HTTP request by Curl from Plack Request.
This module has been inspired by the "copy as cURL" feature on Web Browsers.
CAVEAT
This module does NOT treat HTTP proxy environments. When your app works under a reverse proxy, you may use this module with Plack::Middleware::ReverseProxy.
METHODS
call
REPOSITORY
Plack::Middleware::Curlizer is hosted on github: http://github.com/bayashi/Plack-Middleware-Curlizer
I appreciate any feedback :D
AUTHOR
Dai Okabayashi <bayashi@cpan.org>
SEE ALSO
curl
<https://curl.haxx.se/>
LICENSE
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.