Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=92381
Postga havola
Akbarali [2384] [off]
Tayota, https://www.postman.com/ APIlarni testlash uchun dastur va siz testlagan API uchun tayyor kodlar ham genetatsiya qilib beradi
PHP
var form = new FormData(); var settings = { "url": "http://s117.uzdown.space/download/480p/uzmovi.com%20men%20terrorchi%20emasman%20mobile%20hd.mp4", "method": "GET", "timeout": 0, "headers": { "Accept": " text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", "Accept-Encoding": " gzip, deflate", "Accept-Language": " en-US,en;q=0.9,uz;q=0.8", "Connection": " keep-alive", "DNT": " 1", "Host": " s117.uzdown.space", "Referer": " http://uzmovi.com/, "Upgrade-Insecure-Requests": " 1", "User-Agent": " Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36" }, "processData": false, "mimeType": "multipart/form-data", "contentType": false, "data": form }; $.ajax(settings).done(function (response) { console.log(response); });
PHP
<?php CURLOPT_URL => 'http://s117.uzdown.space/download/480p/uzmovi.com%2520men%2520terrorchi%2520emasman%2520mobile%2520hd.mp4', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'GET', 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9', 'Accept-Encoding: gzip, deflate', 'Accept-Language: en-US,en;q=0.9,uz;q=0.8', 'Connection: keep-alive', 'DNT: 1', 'Host: s117.uzdown.space', 'Referer: http://uzmovi.com/', 'Upgrade-Insecure-Requests: 1', 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36' ), )); echo $response;