REST url for create and edit forms

there been quite good thread on rest urls in SO.

Is this a bad REST URL? Understanding REST: Verbs, error codes, and authentication

I see a good resource here as well.

The question is how to represent the create and edit forms urls. The So links doesn't clearly say that, but the microformats links suggest

GET /people/new  

return a form for creating a new record

GET /people/1/edit

return a form to edit the first record

Not being too religious about using verbs in url, wonder whether there a better option to represent the same.

17
задан Community 23 May 2017 в 10:29
поделиться