API Docs [NTNHAN] - N2HT/DoAnPTHTTTHD GitHub Wiki
Markdown refs: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#lines
Login API
- Method: POST
- Body:
{
username: "username",
password: "password"
}
- Response:
| On | Status code | Data |
|---|---|---|
| Failed | 401 | {message: "Unauthentication"} |
| Success | 200 | {token: "yourtoken", demo: "wefwe"} |