curl --location --request POST '/api/auth/login' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "abdullatifjr002@gmail.com",
"password": "123123123"
}'
{
"status": "success",
"message": "Logged in successfully",
"data": {
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2ODAyYTViZTdjZjA5NTNlOGNkOTM0MjIiLCJyb2xlIjoidXNlciIsImlhdCI6MTc0NzU1OTkxMywiZXhwIjoxNzQ3NTYwODEzfQ.WEkSsG3MFaF9eGdBwiZ5aqAwwUs759zEuwbMer0-cd0",
"user": {
"_id": "6802a5be7cf0953e8cd93422",
"fullName": "Abdullatif",
"email": "Hello@gmail.com",
"role": "user"
}
}
}