This commit is contained in:
@@ -176,6 +176,7 @@ POSTGRES_PASSWORD= # PostgreSQL password (optional)
|
||||
### Core Endpoints
|
||||
|
||||
- `GET /` - Visit URL and get HTML content (with Cloudflare bypass)
|
||||
- `GET /screenshot` - Capture a screenshot of a URL (PNG output)
|
||||
- `GET /seo` - Extract SEO information (with Cloudflare bypass)
|
||||
- `GET /meta` - Extract meta tags and Open Graph data (with Cloudflare bypass)
|
||||
- `GET /test-cloudflare` - Test Cloudflare bypass functionality on a specific URL
|
||||
@@ -198,6 +199,9 @@ POSTGRES_PASSWORD= # PostgreSQL password (optional)
|
||||
# Visit a URL
|
||||
curl -H "X-API-Key: your-api-key" "http://localhost:8000/?url=https://example.com"
|
||||
|
||||
# Capture a full-page screenshot (PNG)
|
||||
curl -H "X-API-Key: your-api-key" "http://localhost:8000/screenshot?url=https://example.com" --output screenshot.png
|
||||
|
||||
# Extract SEO data
|
||||
curl -H "X-API-Key: your-api-key" "http://localhost:8000/seo?url=https://example.com"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user