Send the same failing request 10 times in rapid succession. If you don't receive a 429 or get locked out, the endpoint is brute-forceable.
Command / Input
for i in {1..10}; do curl -s -X POST /api/login -d '{"username":"admin","password":"test"}'; done
Output
{"error":"Invalid credentials"} x10 — no lockout, no slowdown.
⚑ A hardened login would return 429 after 5 failures, or require a CAPTCHA, or add exponential delay.