NAME
CGI::CurlLog - Log CGI parameters as curl commands
SYNOPSIS
use CGI::CurlLog;
DESCRIPTION
This module can be used to log CGI parameters as curl commands so you can redo requests to CGI scripts on your server. Just include a statement "use CGI::CurlLog;" to the top of your CGI script and then check the log file for curl commands. The default log file location is STDOUT, but you can change it like this:
use CGI::CurlLog file => "~/curl.log";
You can set whether to include the response in the log like this:
use CGI::CurlLog response => 1;
You can include timing details about how long the cgi script took to run like this:
use CGI::CurlLog timing => 1;
METACPAN
https://metacpan.org/pod/CGI::CurlLog
REPOSITORY
https://github.com/zorgnax/cgicurllog
AUTHOR
Jacob Gelbman, <gelbman@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2016 by Jacob Gelbman
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.2 or, at your option, any later version of Perl 5 you may have available.