I have been trying to figure out how to model the resources of a
guestbook cgi program using REST. My CGI program is named guestbook
and my domain name is metaperl.org

GET /guestbook
  returns the first 10 entries of the guestbook with links to page
  forward to 11-20. REST supposedly works without cookies, so if a
  user had a preference for entry listings per page, what to do?
GET /guestbook?o=xml
  returns the entire guestbook in XML format
POST /guestbook
  adds an entry to the guestbook. But here is my problem, I need a URL
  which returns a page that the user can fill in and hit submit. What
  would such a URL look like?
GET /guestbook/stats
  returns a page showing the stats on the guestbook.

        Carter's Compass: I know I'm on the right track when,
           by deleting something, I'm adding functionality.

SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
cgi-prototype-users mailing list

Reply via email to