SignIn User
Authenticate User by Email and Password
Endpoint
Base URL
http://localhost:5000Method and Endpoint
POST /api/auth/signinRequest Body
Request Body
{
"email": "example@gmail.com",
"password": "YourPassword_123"
}Responses
You will get responses like this:
200 (success)
Response Body
{
"access_token": "unique-string-for-access-token",
"message": "Logged in successfully!"
}400 (bad request)
Response Body
{
"message": "email or password incorrect"
}500 (server error)
Response Body
{
"message": "Internal server error"
}