[racket] [ANN] BZLIB/SHP.plt 0.4 available

Hi all -
a newer version of BZLIB/SHP.plt is now available via planet. It now
includes a "web API" feature, where your api script automatically works with
XMLRPC or JSON requests.
Example - if you have a script called /api/add2 (adds two numbers) as
follows:
(:api-args (a number?) (b number?))
(+ a b)
Then you can call the script by passing in an xmlrpc or json payload, and
get back the corresponding response. The following is an example of the
json payload:
POST /api/add2 HTTP/1.0
Content-Type: text/json; charset=utf-8
{ a : 50 , b : 90 }
And the response is
Content-Type: text/json; charset=utf-8
140
The parameters above are validated to ensure that they are numbers. And you
can do the same with XMLRPC payloads.
You can find more details regarding the usage
here<http://weblambda.blogspot.com/2010/07/bzlibshpplt-04-now-available-web-api.html>.
Please let me know if there are any questions/comments. Cheers,
yc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100708/f975d3b7/attachment.html>