Contact page, how to fit into RESTful design?


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?


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.