Login

Login and take token from server

Login

POST https://abc.hoola.vn/manage/api/users/login-user

Request Body

NameTypeDescription

email

string

Email Address

password

string

Password

// Response Code "00". Login successfully. 
// Return data:
{
   respCode: "00",
   token: "6KxGr8LJzlixGIUskGv3VodeFI9u8fWtPs3no3Q3S3h",
   tokenExpires: "2021-06-14T08:51:23.685Z",
   msg: "login success",
}

Example:

// POST: 
https://abc.hoola.vn/manage/api/users/login-user

body: 
{
    email: "abc@abc.com",
    password: "1234567890"
}

Last updated