Mana, JavaScript-da Fetch so'rovini qanday qilish mumkinligi haqida misol: fetch('http://example.com/movies.json').then(response => response.json()).then(data => console.log(data)); bu yerda biz JSON faylini tarmoq orqali olib, uni konsolga bosib chiqaramiz. fetch() ning eng oddiy usuli - u argumentni (siz olishni istagan resursning yo'lini) oladi va javobni o'z ichiga olgan Promise ob'ektini, ya'ni Response ob'ektini qaytaradi.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence