[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: [xml-dev] RESTful XML for updates?
- From: "Scott, Christopher" <christopher.scott@fiserv.com>
- To: "Scott, Christopher" <christopher.scott@fiserv.com>, "Anne Thomas Manes" <atmanes@gmail.com>, <elharo@metalab.unc.edu>
- Date: Mon, 9 Mar 2009 11:17:21 -0400
> 1. Take, for instance, the State element and the Whatsists. How would
the client know if you could POST to the "State", but not PUT, and only
GET and PUT "Whatsists"?
A quick reply to myself: after some googling I found a possible
solution: expose the http OPTIONS method at each resource. It's
out-of-band in regard to the actual representation of the resource, but
it seems that this may be the way to go.
For example an OPTIONS ./State would return
GET
POST
OPTIONS
~Chris
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]