NAME
mock-server.pl - script to test the API
DESCRIPTION
Just returns the HTML page for the requested URL on STDOUT and exits.
SYNOPSIS
mock-server.pl [-f capo.cfg] [-l log4perl.cfg] URL
Example URL's:
'http://localhost'
'http://localhost?login=true;username=foo;password=bar'
'http://localhost?logout=true'
'http://localhost/status=true'
'http://localhost/status=true;admin_secret=my-secret'
'http://localhost/status=true;admin_secret=my-secret;astext=true'
AUTHOR
Karl Gaissmaier, <gaissmai at cpan.org>
LICENSE AND COPYRIGHT
Copyright 2010-2013 Karl Gaissmaier, all rights reserved.
This distribution is free software; you can redistribute it and/or modify it under the terms of either:
a) the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version, or
b) the Artistic License version 2.0.