URL Shortener

Endpoints

Example

POST to /shorten with JSON:

{"url": "https://example.com/very/long/url"}

Returns: {"short": "abc123", "shortUrl": "https://your-domain/abc123"}