Ask Bjørn Hansen > YellowBot-API-0.96 > YellowBot::API::Request::Json

Download:
YellowBot-API-0.96.tar.gz

Annotate this POD

Website

CPAN RT

New  1
Open  0
View/Report Bugs
Source   Latest Release: YellowBot-API-0.97

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.

syntax highlighting: