curl -X 'POST' \
'http://localhost:8080/auth/register' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"email": "string",
"password": "string",
"phone": "string"
}'
await axios.post(url, {
name: "shoaib",
email: "shoaib@techoneplus.com",
password: "password",
})
Authentication
Registration
Register for user
POST
/
auth
/
register
curl -X 'POST' \
'http://localhost:8080/auth/register' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"email": "string",
"password": "string",
"phone": "string"
}'
await axios.post(url, {
name: "shoaib",
email: "shoaib@techoneplus.com",
password: "password",
})
Things you can do:
- Query an admins projects
- See all of the relevant fields for your projects
string
required
string
required
This will be a unique name
string
required
string
curl -X 'POST' \
'http://localhost:8080/auth/register' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"email": "string",
"password": "string",
"phone": "string"
}'
await axios.post(url, {
name: "shoaib",
email: "shoaib@techoneplus.com",
password: "password",
})