🎭 Playwright API Service

✅ Service is running normally

📊 Service Information

Version: 1.1.0 (Enhanced with Temporary File Links)

Features: PDF Generation, Image Creation, PDF Handouts, Enhanced Logging, Temporary File Links

Request ID: vswl4

🆕 New Feature: Temporary File Links

You can now request downloadable links instead of binary responses!

🔗 Available Endpoints

GET /health - Health check and system status
POST /generate - Generate PDF/images from URL or content (API key required)
POST /generate-from-html - Generate from raw HTML (API key required)
POST /handouts/* - PDF handout processing endpoints (API key required)
GET /handouts-generate - Web interface (password protected)
GET /temp/* - Download temporary files (auto-deleted after 24h)

🔒 Security Status

API Authentication: ✅ Enabled

Web Interface: 🔒 Password Protected

📖 Usage Examples

Get binary response (original):

curl -X POST "https://print.confy.cc/generate-from-html?type=pdf" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: text/html" \
  -d "<html><body><h1>Hello</h1></body></html>" \
  --output document.pdf

Get download link (new):

curl -X POST "https://print.confy.cc/generate-from-html?type=pdf&returnLink=true" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: text/html" \
  -d "<html><body><h1>Hello</h1></body></html>"

For API documentation and examples, visit the project repository.