Skip to main content

Timeline for Is the URL 'users/new' RESTful?

Current License: CC BY-SA 3.0

7 events
when toggle format what by license comment
Mar 9, 2018 at 13:18 vote accept Pithikos
Mar 8, 2018 at 20:42 comment added Laiv RubyOnRais uses this convention so it can't be totally wrong. probably RoR devs doesn't care about REST conventions. Or they did their own interpretation. But it doesn't mean they are right just because they have a framework. Nobody code for the state of the art.
Mar 8, 2018 at 16:43 comment added Sean Burton @MBraiN Yeah, in rails the /new URL is used purely to serve the page containing the HTML form that the user can fill in to create a new user. If you are creating a pure API then this is not used, it's only used when you also want a web interface.
Mar 8, 2018 at 13:21 answer added VoiceOfUnreason timeline score: 3
Mar 8, 2018 at 13:05 comment added MBraiN On Rails, /users/new is a GET which points to new user form page and that form is sent to POST /users
Mar 8, 2018 at 12:53 comment added MetalMikester The verb is king. A POST to /users is an "add" (new) operation. So far everything I've used and programmed myself works like that.
Mar 8, 2018 at 12:39 history asked Pithikos CC BY-SA 3.0