Switch language

Sandbox

Explore every endpoint with simulated responses — no credentials required.

POST /file/url_upload_add

Remote URL Upload

Queue a file for upload from a remote URL (server-to-server fetch).

Remote URL to fetch

Reset form

Click "Send request" to see a simulated response.

Code Examples

<?php
$ch = curl_init('https://rediafile.com/cloud/api/v2/file/url_upload_add');
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Bearer ' . $token]);
curl_setopt($ch, CURLOPT_POSTFIELDS, [
    'url' => 'https://example.com/large-file.zip',
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);