RESTfully design /login or /register resources?
RESTful can be used as a guideline for constructing URLs, and you can make sessions and users resources: GET /session/new gets the webpage that has the login form POST /session authenticates credentials against database DELETE /session destroys session and redirect to / GET /users/new gets the webpage that has the registration form POST /users records … Read more