XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] RESTful XML for updates?

> 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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS