Fetch হল একটি নতুন API যা দূরবর্তী সংস্থানগুলিকে 'ফেচ' করা অনেক সহজ করে তোলে৷ XMLHttpRequest এর মত, Fetch একই উৎস বা ক্রস ডোমেন অনুরোধ করার জন্য ব্যবহার করা যেতে পারে। ফেচ একটি ক্লিনার, আরও শক্তিশালী API ব্যবহার করে যা অনুরোধটিকে প্রতিক্রিয়া থেকে আলাদা করে এবং প্রতিক্রিয়া ফেরত দেওয়ার প্রতিশ্রুতি ব্যবহার করে।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-30 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-30 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Fetch API simplifies fetching remote resources, offering a more streamlined approach than XMLHttpRequest."],["It supports both same-origin and cross-domain requests for versatile resource retrieval."],["Fetch API provides a clear separation between request and response for enhanced code organization."],["It leverages promises for efficient asynchronous handling of responses, improving code readability and performance."]]],["Fetch API simplifies fetching remote resources, handling both same-origin and cross-domain requests. It offers a refined interface compared to XMLHttpRequest, distinguishing the request from the response. Crucially, Fetch utilizes promises to deliver the response, providing a more structured and efficient method for managing asynchronous operations. Its improved design aims to streamline the process of data retrieval from remote sources.\n"]]