🔐 DRM License Proxy

This proxy server helps bypass CORS restrictions for DRM license requests.

📡 Available Endpoints

Proxy Endpoint

URL: /api/proxy?target=YOUR_TARGET_URL

Methods: GET, POST, OPTIONS

Example: /api/proxy?target=https://license-server.com/license

🚀 Usage Examples

JavaScript Example

const proxyUrl = 'https://drm-license-proxy.vercel.app/api/proxy?target=https://license-server.com/license';
fetch(proxyUrl, {
    method: 'POST',
    headers: {
        'Content-Type': 'application/octet-stream',
        'Authorization': 'Bearer YOUR_TOKEN'
    },
    body: licenseRequestBuffer
});

cURL Example

curl -X POST "https://drm-license-proxy.vercel.app/api/proxy?target=https://license-server.com/license" \
     -H "Content-Type: application/octet-stream" \
     -H "Authorization: Bearer YOUR_TOKEN" \
     --data-binary @license_request.bin

⚙️ Features

Status: 🟢 Online and ready to use