NAME
Plack::Middleware::Curlizer - Building Curl Command from Plack Request
SYNOPSIS
enable 'Curlizer';
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.
MIDDLEWARE OPTIONS
callback($code)
By default, callback
is set below code ref.
sub {
my ($curl, $req, $env) = @_;
print "$curl\n";
}
METHODS
call
prepare_app
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
LICENSE
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.