Plack::Middleware::Curlizer - Building Curl Command from Plack Request
enable 'Curlizer';
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.
By default, callback is set below code ref.
callback
sub { my ($curl, $req, $env) = @_; print "$curl\n"; }
Plack::Middleware::Curlizer is hosted on github: http://github.com/bayashi/Plack-Middleware-Curlizer
I appreciate any feedback :D
Dai Okabayashi <bayashi@cpan.org>
curl <https://curl.haxx.se/>
curl
Plack::Middleware
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install Plack::Middleware::Curlizer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Middleware::Curlizer
CPAN shell
perl -MCPAN -e shell install Plack::Middleware::Curlizer
For more information on module installation, please visit the detailed CPAN module installation guide.