// default login is admin and admin123 change this in config.json
$curl -k -X POST https://127.0.0.1:8080/auth -H "Content-Type: application/json" -d '{"username": "admin", "password": "admin123"}'
// Header
HTTP/1.1 200 OK
content-length: 191
x-ratelimit-remaining: 4
x-ratelimit-limit: 5
content-type: application/json
date: Sun, 27 Apr 2025 07:29:21 GMT
// Response body
{"expires_at":"2025-04-27 09:37:05","token":"85l19fN5l+DKozxk29xeMtw2PgH/aNnVAgEJLxNo8M7xsumcO1cxS1BsfsUQIg+EXdV1vpxQMSNpiPPymBvfGUx2ufPT1jK7JVT9Aw3amQTOs5k8oBs+Qh6EbKHJsyohcioACLP9MWQ/DHhb"}
// Header
HTTP/1.1 429 Too Many Requests
content-length: 30
x-ratelimit-remaining: 0
x-ratelimit-limit: 5
x-ratelimit-after: 6
retry-after: 6
content-type: text/plain; charset=utf-8
date: Sun, 27 Apr 2025 07:29:21 GMT
// Response body
Too many requests, retry in 6s