{
"email": "seuemail@....",
"password": "suasenhaaqui"
}
{
"success": true,
"user": {
"_id": "611....",
"name": "Vin....",
"image": "https://lh3.goog......",
"email": "seuemail@.....,
"phone": "(99) 99999-9999",
"admin": false,
"root": false,
"blocked": false,
"removed": false,
"expiresIn": 1209600
},
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9......"
}
curl -X 'POST' \
'https://apim.niiw.io/api/auth' \
-H 'accept: */*' \
-H 'Content-Type: application/json' \
-d '{
"email": "seuemail@........",
"password": "suasenhaaqui"
}'