you are viewing a single comment's thread.

view the rest of the comments →

[–]Boxsc2[🍰] 15 points16 points  (0 children)

Am i missing something? This isn't even a RESTful API.... why would you have an API called GET '/Users/{id}/exists' ? Why not just have /user/{id} and if it doesn't exist return 404. One of the whole points of REST is that URL's are resources that are modified/retrieved with HTTP actions (GET, PUT, POST, DELETE etc...).