Hi all

If I wanted to create a REST API using Agavi, is it simply that I need
to create a single action like ApiAction and within it define
executeRead, executeWrite, executeCreate and executeRemove methods?

Also, if I were to POST/PUT/DELETE XML documents to the REST API, is
there any way for me to use getParameter() within the corresponding
executeXXX method to retrieve the XML node values? Or should I just be
using something like SimpleXML for this purpose?

Example XML document:
<entry>
  <name>ABC</name>
  <author>XYZ</author>
  <price>5.99</price>
</entry>

Any example implementations of a REST API with Agavi would be much
appreciated. Thanks.

Vikram

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to