Home
Enterprise Tools
Image Optimizer Translate SEO Boost 2025 Speed Cache 2025 Security Shield 2025 Backup Vault 2025
Support LoginGet Started

Testing the API

Using cURL

# Convert image to WebP
curl -X POST https://api.jetweb.app/convert \
  -H "X-Access-Token: demo-token-jetweb-2024" \
  -F "[email protected]" \
  -F "format=webp" \
  -o converted.webp

# Check response headers
curl -i -X POST https://api.jetweb.app/convert \
  -H "X-Access-Token: demo-token-jetweb-2024" \
  -F "[email protected]"

Demo Tokens

Use these tokens for testing:

Testing CDN

After converting an image, use the CDN URL from the response headers:

# Get CDN URLs from headers
curl -i -X POST https://api.jetweb.app/convert \
  -H "X-Access-Token: demo-token-jetweb-2024" \
  -F "[email protected]" | grep "X-CDN"

# Download from CDN
curl -o image.webp "https://cdn.jetweb.app/{id}.webp?token=...&sig=..."

Testing in Browser

  1. Open Developer Tools (F12)
  2. Go to the Network tab
  3. Load a page with optimized images
  4. Check Content-Type headers for image/webp or image/avif