# 短链服务 hq8.net

## API

### 创建短链
```
POST /api/shorten
Content-Type: application/json
{"url": "https://example.com/long/url"}
```
响应：
```json
{"short_url": "https://hq8.net/aa", "short_code": "aa"}
```

### 访问短链
```
GET /{shortCode}  → 302 跳转到原始URL
```

### 健康检查
```
GET /health  → {"status": "ok", "cnt": 0}
```

