NAME

YellowBot::API::Request::JSON - Request object for YellowBot::API (JSON POST)

SYNOPSIS

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;

METHODS

api

http_request

Returns a HTTP::Request version of the request.

AUTHOR

Ask Bjørn Hansen, <ask at develooper.com>

COPYRIGHT & LICENSE

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.