Skip to content

Fetch API#417

Open
abdullah-al-mridul wants to merge 1 commit intojavascript-tutorial:masterfrom
abdullah-al-mridul:master
Open

Fetch API#417
abdullah-al-mridul wants to merge 1 commit intojavascript-tutorial:masterfrom
abdullah-al-mridul:master

Conversation

@abdullah-al-mridul
Copy link

Fetch API Bengali Translation

@CLAassistant
Copy link

CLAassistant commented Feb 12, 2026

CLA assistant check
All committers have signed the CLA.

@abdullah-al-mridul
Copy link
Author

@iliakan @jaamaalxyz @paroche please review this PR

আমরা এখন পর্যন্ত `fetch` সম্পর্কে অনেক কিছু জেনেছি।

Let's see the rest of API, to cover all its abilities.
এবার চলুন বাকি API গুলো দেখে নেই, যাতে এটির সব ক্ষমতা কভার করতে পারি।
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

এখানে "ক্ষমতা" বাদ দিয়ে আমরা "সক্ষমতা" শব্দটি ব্যবহার করতে পারি।


```smart
Please note: most of these options are used rarely. You may skip this chapter and still use `fetch` well.
মনে রাখবেন: এই অপশনগুলোর বেশিরভাগ খুব কমই ব্যবহার করা হয়। আপনি এই চ্যাপ্টার ছাড়া দিয়েও `fetch` ভালোভাবে ব্যবহার করতে পারবেন।
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

মনে রাখবেন: এই অপশনগুলোর বেশিরভাগ খুব কমই ব্যবহার করা হয়। আপনি এই অধ্যায়টি না পড়েও fetch ভালোভাবে ব্যবহার করতে পারবেন।

মনে রাখবেন: এই অপশনগুলোর বেশিরভাগ খুব কমই ব্যবহার করা হয়। আপনি এই চ্যাপ্টার ছাড়া দিয়েও `fetch` ভালোভাবে ব্যবহার করতে পারবেন।

Still, it's good to know what `fetch` can do, so if the need arises, you can return and read the details.
তবুও, এটা ভালো যে আমরা জানি `fetch` কি কি করতে পারে, তাই যদি প্রয়োজন হয়, আমরা ফিরে এসে বিস্তারিত দেখতে পারবো।
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

তবুও, এটা ভালো হয় যদি আমরা জানি fetch কি কি করতে পারে, তাহলে কখনো প্রয়োজন হলে, আমরা ফিরে এসে বিস্তারিত দেখতে পারবো।

অসাধারণ একটা তালিকা, তাই না?

We fully covered `method`, `headers` and `body` in the chapter <info:fetch>.
আমরা <info:fetch> চ্যাপ্টারে `method`, `headers` এবং `body` সম্পূর্ণভাবে কভার করেছি।
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"চ্যাপ্টারে" -> "অধ্যায়ে"

`signal` অপশন <info:fetch-abort> এ কভার করা হয়েছে।

Now let's explore the rest of capabilities.
এবার চলুন বাকি ক্ষমতাগুলো এক্সপ্লোর করি।
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

এবার চলুন বাকি সক্ষমতাগুলো এক্সপ্লোর করি।

**`referrerPolicy` অপশন `Referer` এর জন্য সাধারণ নিয়ম সেট করে।**

Requests are split into 3 types:
Request গুলো ৩ ধরনে ভাগ করা হয়:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Request গুলো ৩ ধরনের হয়ে থাকেঃ

## mode

The `mode` option is a safe-guard that prevents occasional cross-origin requests:
`mode` অপশনটি একটি সেফগার্ড যা ঘটাঘটি cross-origin request প্রতিরোধ করে:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mode অপশনটি এমন একটি সুরক্ষা ব্যবস্থা যা মাঝে মাঝে cross-origin অনুরোধগুলিকে প্রতিরোধ করে:

- **`"no-cors"`** -- only simple cross-origin requests are allowed.
- **`"cors"`** -- ডিফল্ট, cross-origin request অনুমতি প্রাপ্ত, যেমন <info:fetch-crossorigin> এ বর্ণনা করা হয়েছে,
- **`"same-origin"`** -- cross-origin request নিষিদ্ধ,
- **`"no-cors"`** -- শুধু সাদামাটা cross-origin request অনুমতি প্রাপ্ত।
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

সাদামাটা -> সিম্পল বা সাধারণ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants