Test Rediafile Cloud API v2 endpoints live. Responses are simulated — no real credentials required.
Authenticate with username/password or API keys to receive an access_token and account_id.
<?php $ch = curl_init('https://rediafile.com/cloud/api/v2/authorize'); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([ 'username' => 'your_username', 'password' => 'your_password', ])); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $resp = curl_exec($ch); curl_close($ch); echo $resp;