Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

добавление пользователя #1

Open
Margo63 opened this issue Oct 28, 2024 · 2 comments
Open

добавление пользователя #1

Margo63 opened this issue Oct 28, 2024 · 2 comments

Comments

@Margo63
Copy link
Collaborator

Margo63 commented Oct 28, 2024

postUser(name: String, password:Int): boolean
If user already exist return false, else return true
type request: POST

@Margo63
Copy link
Collaborator Author

Margo63 commented Oct 28, 2024

  • return user id

@WukAp
Copy link
Collaborator

WukAp commented Oct 30, 2024

If user already exist return false, else return true
return user id
не понимаю, что в итоге возвращать?
могу
If user already exist return status 400 (или какой-то ещё), else return status 200 (user id)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants