Testez les endpoints de l'API Rediafile Cloud v2. Les réponses sont simulées — aucune credential réelle requise.
Génère un jeton de téléchargement limité dans le temps.
const params = new URLSearchParams(); const data = new FormData(); data.append('access_token', 'demo_token_abc123'); data.append('file_id', '10245'); const resp = await fetch('https://rediafile.com/cloud/api/v2/file/download', { method: 'GET', body: data }); const json = await resp.json(); console.log(json);