Closed Angelfire closed 9 years ago
@Angelfire The first ones refer to your apps URL, it will manage the flow of it, doesn't necessarily match to API URLs, so inside /resource_name/new
you might do a POST
to create a new user.
/users/new ----> POST /users
/users/ ----> GET /users
/users/:user_id --> GET /users/:id
/users/:users_id/edit --> PATCH/PUT /users/:id
Feel free to reopen if it doesn't makes sense :)
Pag: 22 adding a new friend
But if we look documentation, convention should be:
Or am I doing something wrong?