Answer the question
In order to leave comments, you need to log in
How to properly implement REST?
Hello! I am making a RESTfull project.
I get the list of users like this: GET /admin/users
Second page: GET /admin/users/10
User: GET /admin/users/name
Next, I need to display a page with a form for adding a user. It is not difficult to guess that users cannot start their nickname with a number.
There were ideas to do this: GET /admin/users/add
But what to do with a poor user who has chosen the nickname "add"? Make a reservation? Crutch.
Please tell me how to solve this problem for me?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question