Contact page, how to fit into RESTful design?


#1

Hi,

I’m working on an app that uses REST. I’m kind of stumped on this…
where does a “contact” page fit in? … “contact” sounds like a verb.
Would I change the url from “/contact” to “/us” and then the post
would handle the form submission? The contact page is only for sending
a message, so there really is no “resource”, well except for the
person being contacted right? Is that the resource? And am I right in
saying that unless I was storing the contact messages in a database,
there is no PUT or DELETE methods?

Thanks


#2

On 2/12/07, goodieboy removed_email_address@domain.invalid wrote:

there is no PUT or DELETE methods?
Not everything in your app has to be REST. You could look for the
‘hidden resource,’ such as Inquiry, Feedback, Comment, etc. Assuming
you did that, PUT may not be necessary, but DELTE will be, unless you
plan on keeping every bit of it.


Rick O.
http://weblog.techno-weenie.net
http://mephistoblog.com