implement resulting url endpoint
Build and Push Docker Images / build-and-push (push) Has been cancelled
Build and Push Docker Images / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -92,6 +92,7 @@ RATE_LIMIT_MINUTE=60 # Requests per minute (default: 60)
|
||||
- `GET /seo` - Extract SEO information
|
||||
- `GET /meta` - Extract meta tags and Open Graph data
|
||||
- `GET /json` - Fetch JSON content from a website
|
||||
- `GET /resulting-url` - Get the final URL after navigation (handles redirects)
|
||||
|
||||
The `/json` endpoint intelligently extracts JSON data from websites by:
|
||||
|
||||
@@ -124,6 +125,9 @@ curl -H "X-API-Key: your-api-key" "http://localhost:8000/seo?url=https://example
|
||||
# Fetch JSON content
|
||||
curl -H "X-API-Key: your-api-key" "http://localhost:8000/json?url=https://api.example.com/data"
|
||||
|
||||
# Get resulting URL (handles redirects)
|
||||
curl -H "X-API-Key: your-api-key" "http://localhost:8000/resulting-url?url=https://example.com"
|
||||
|
||||
# Get system status
|
||||
curl -H "X-API-Key: your-api-key" "http://localhost:8000/status"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user