Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> So then one gets to bike-shed if "signup" it is in the request path, query parameters, or the body.

But that's not a difference between /user/signup and /user:signup .



That's correct, the example you are giving represents bike-shedding among request path variations.

I assumed most readers of my comment would get that the idea that /users/signup is ambiguous whether or not that is supposed to be another resource, while /users:signup is less so.


It's not ambiguous that api/users/signup refers to a resource. One of the constraints of REST is that endpoints refer to resources.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: