curl -X 'POST' \
'http://localhost:8080/auth/login' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"email": "string",
"password": "string"
}'
await axios.post(url, {
email: "shoaib@techoneplus.com",
password: "password",
})
Authentication
Login
Login for user
POST
/
auth
/
login
curl -X 'POST' \
'http://localhost:8080/auth/login' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"email": "string",
"password": "string"
}'
await axios.post(url, {
email: "shoaib@techoneplus.com",
password: "password",
})
Things you can do:
- Login to hfr site to get admin/client access
string
required
This will be a unique name
string
required
Password must me at least 8 character
curl -X 'POST' \
'http://localhost:8080/auth/login' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"email": "string",
"password": "string"
}'
await axios.post(url, {
email: "shoaib@techoneplus.com",
password: "password",
})