YellowBot::API::Request::JSON - Request object for YellowBot::API (JSON POST)
This class manages setting up JSON POST requests for the YellowBot::API.
No user servicable parts inside. This part of the API is subject to change.
my $req = YellowBot::API::Request::JSON->new (api => $yellowbot_api, method => 'location/detail', args => { foo => 'bar', fob => 123, }, ); my $http_request = $req->http_request;
Returns a HTTP::Request version of the request.
Ask Bjørn Hansen, <ask at develooper.com>
<ask at develooper.com>
Copyright 2009–2011 Solfo Inc, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install YellowBot::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm YellowBot::API
CPAN shell
perl -MCPAN -e shell install YellowBot::API
For more information on module installation, please visit the detailed CPAN module installation guide.