Authentication
การทำ Authentication เพื่อใช้งาน API
Last updated
การทำ Authentication เพื่อใช้งาน API
Last updated
POST /auth/login HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 83
{
"type": "USERNAME|AD|LINE",
"username": "admin@mail.com",
"password": "securepassword"
}{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"delegateToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}