[Chicago-talk] Sockets & Hashes

Jonathan Rockway jon at jrock.us
Sun Mar 25 20:58:30 PDT 2007


On Sunday 25 March 2007 22:53, Jonathan Rockway wrote:
> Also, you want LWP::UserAgent, not Mechanize in this case (although Mech is
> a subclass of LWP::UA...).  You don't need to "browse" the remote site if
> you're just an API client.  For example, just send an HTTP::Request
> containing your request in JSON and read the HTTP::Response containing the
> answer, encoded in JSON.  See:

My dumb mail client truncated my message.  Links:

http://json-rpc.org/

http://search.cpan.org/dist/JSON/lib/JSONRPC.pm

This sounds like the direction you want to go.

-- 
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/chicago-talk/attachments/20070325/3759e78e/attachment.bin 


More information about the Chicago-talk mailing list