01 Create a link — POST /api/links
Validation mirrors the Go handlers: 422 bad URL / bad code / bad duration, 409 code taken, 404 unknown code, 410 expired.
02 Links — GET /api/links
| Code | Target | Visits | Expires | Actions |
|---|
No links yet — create one above. Simulated hits use 302 (never 301), so the counter always sees the visit.