Testez les endpoints de l'API Rediafile Cloud v2. Les réponses sont simulées — aucune credential réelle requise.
Authentifiez-vous pour recevoir un jeton d'accès.
const params = new URLSearchParams(); const data = new FormData(); data.append('username', 'your_username'); data.append('password', 'your_password'); const resp = await fetch('https://rediafile.com/cloud/api/v2/authorize', { method: 'POST', body: data }); const json = await resp.json(); console.log(json);