|Version 1 (modified by 14 years ago) ( diff ),|
This page hosts detailed specifications for Blueprint for the RESTful API.
RESTful APIs make this easier.
Web2Py generates fairly RESTful URLs anyway for the user-facing HTML pages, such as /sahana/pr/display_person/4
We can extend this for exporting raw data in other formats using the optional vars: /sahana/pr/display_person/4?[xml|csv]
This, obviously, requires us to build-in support into the Controllers, which should be done within the framework to make it easy for module writers to take advantage of.
Web2Py currently doesn't support HTTP PUT/DELETE/UPDATE (only GET).