This proxy server helps bypass CORS restrictions for DRM license requests.
URL: /api/proxy?target=YOUR_TARGET_URL
Methods: GET, POST, OPTIONS
Example: /api/proxy?target=https://license-server.com/license
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 -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
Status: 🟢 Online and ready to use