# Login
# Login EI
Sử dụng APi này để login tài khoản đăng ký trên hệ thống của EI-Shop, cho cả khách hàng cá nhân và khách hàng công ty
# Endpoint
POST http://api.example.com/api/auth/login
# Parameters
Name | Type | Description | Required |
---|---|---|---|
Required parameters | String | ✔️ | |
Optional parameters | String | ➖ |
# Response
Status:200
{
Items:{
}
}
curl -X POST http://api.example.com/api/auth/login \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <const name="MOCK_TOKEN" />' \
--data '{
"username": "my-username",
"password": "my-password"
}'
# Login GG
Sử dụng APi này để login tài khoản đăng ký trên hệ thống của EI-Shop, cho cả khách hàng cá nhân và khách hàng công ty
# Endpoint
POST http://api.example.com/api/auth/login
# Parameters
Name | Type | Description | Required |
---|---|---|---|
Required parameters | String | ✔️ | |
Optional parameters | String | ➖ |
# Response
Status:200
{
Items:{
}
}
curl -X POST http://api.example.com/api/auth/login \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <const name="MOCK_TOKEN" />' \
--data '{
"username": "my-username",
"password": "my-password"
}'
← Quotation Basic Info →