Froody::QuickStart 42.011 review
DownloadFroody::QuickStart is a Perl module for the froody Quick Start tutorial. At the core of Froody is the concept of Froody Methods, m
|
|
Froody::QuickStart is a Perl module for the froody Quick Start tutorial.
At the core of Froody is the concept of Froody Methods, methods that you can call remotely over the web.
For example, we have a hypothetical method called "examples.myapi.greet" that can return us greetings. We need to pass it one parameter, called "who", that is the name of the person we're greeting. These two things are passed as CGI parameters to a froody endpoint (a cgi script, a mod_perl server, whatever) sitting at "http://myserver.com/fe"
bash$ lwp-request 'http://myserver.com/fe?method=examples.myapi.greet&who=Mark'
< ?xml version="1.0" encoding="utf-8"? >
< rsp stat="ok" >
< greeting >Hello Mark!< /greeting >
< /rsp >
We get a chunk of XML back that is the result of calling the function.
Requirements:
Perl
Froody::QuickStart 42.011 search tags