login

Log in a user on the car pooling application

User login endpoint

/v1/apis/auth/login/

POST https://carpoolingbackend.herokuapp.com/v1/apis/auth/login/

This endpoint allows you to login users on the application.

Request Body

Name
Type
Description

username

string

the username that the user was registered with.

password

string

the password key sent to the users email.

{
  "key": "297023hn329cc55f04564fac377856396e9a505fa"
}

user login example

auth/login endpoint

A dictionary like the one below must be provided to the body of the POST request to log in a user.

Last updated

Was this helpful?