NAME
Net::HTTP::Spore::Middleware::DefaultParams - Middleware to set default params for every request made by a spore client
VERSION
version 0.03
NAME
Net::HTTP::Spore::Middleware::DefaultParams - Middleware to set default parameters
for every request made by a spore client
SYNOPSIS my $client = Net::HTTP::Spore->new_from_spec('api.json'); # foo=bar and blah=baz will be passed on each request. $client->enable('DefaultParams', default_params => { foo => 'bar', blah => 'baz' });
WARNINGS This middleware disables the checking of required parameters, so be sure of what you are doing !
AUTHOR
Emmanuel "BHS_error" Peroumalnaik <peroumalnaik.emmanuel@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Weborama R&D.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.