Re: [rest-discuss] URI design
- I guess having something like:
And having a POST request to that link should make sense.
Of course if trying to have a web interface you could have a GET http://www.mysite.com/invoices/edit page.Sent to you by Gaurav Agarwal :)
- On Nov 18, 2012, at 4:49 AM, Max Toro <maxtoroq@...> wrote:
> Found this statement on the web:What the quote is trying to say is, I guess, that designing interactions in the spirit of RPC (here: InvoceService.add(invoice)) is not RESTful.
> "Implementing a http://www.mysite.com/invoice/add URI is not
> considered a REST compliant practice."
> What do you guys think?
'Correct' would be sth like
<invoice> ... </invoice>
You do not need an 'add' semantic.
As for the URI string per se: that is opaque and meaningless (as Erik and Steve already noted).
> Max Toro