in reply to A RESTful API framework
In particular, it unpacks the supplied content (if you want) based on the format specified by the "Content-Type" header, and serializes your output data structure. (It uses Content-Type for that too -- I think it should use "Accept" for that.)
Your GET/PUT/POST handler doesn't have to deal with that at all, but the user can supply input in whatever format they want: XML, YAML, JSON, etc. and consume your results however they want. The perl handler can just deal with native perl data structures.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: A RESTful API framework
by jeteve (Pilgrim) on Nov 10, 2009 at 19:24 UTC |