signUp

create new user

POST /users/signup

<Description of the endpoint>

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Request-Body

Name
Type
Description

id

string

[PK] unique userId

name

string

Name of the user

phoneNumber

integer

Phone number of the user

password

string

password of the user

Response

{
  "id": "John99",
  "name": "John",
  "phoneNumber": 01011112222,
  "password": "hungry99@"
}

Last updated