Skip to content

Fetch #491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 2, 2023
Merged

Fetch #491

merged 2 commits into from
Jun 2, 2023

Conversation

kopijka
Copy link
Contributor

@kopijka kopijka commented May 13, 2023

Переклад на українську мову
13,05,23

Переклад на українську мову
13,05,23
@CLAassistant
Copy link

CLAassistant commented May 13, 2023

CLA assistant check
All committers have signed the CLA.

- `response.ok` -- `true` if the status is 200-299.
- `response.headers` -- Map-like object with HTTP headers.
Параметри відповіді:
- `response.status` -- HTTP код відповід,
Copy link
Contributor

@SuperMaxusa SuperMaxusa May 13, 2023

Choose a reason for hiding this comment

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

Suggested change
- `response.status` -- HTTP код відповід,
- `response.status` -- HTTP-статус відповіді,

@javascript-translate-bot
Copy link
Contributor

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

Copy link
Collaborator

@dolgachio dolgachio left a comment

Choose a reason for hiding this comment

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

Дякую, за переклад! Я написав кілька коментарів, я сам їх додам до вашого пулл реквеста і прийму його.
Проте, щоб повністю завершити переклад цієї статті потрібно перекласти задачу, яка знаходиться поряд із нею.

Якщо вам нескладно, зробіть ще один пулл реквест із цим перекладом.

@@ -279,38 +279,38 @@ function submit() {
}
```

## Summary
## Підсумок
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
## Підсумок
## Підсумки


A typical fetch request consists of two `await` calls:
Типовий запит за домогою `fetch` складаєся із двох операторів `await`:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Типовий запит за домогою `fetch` складаєся із двох операторів `await`:
Типовий запит за допомогою `fetch` складаєся із двох операторів `await`:

- `method` -- HTTP-method,
- `headers` -- an object with request headers (not any header is allowed),
- `body` -- the data to send (request body) as `string`, `FormData`, `BufferSource`, `Blob` or `UrlSearchParams` object.
Опції `fetch`, котрі на даний момент вивчено:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Опції `fetch`, котрі на даний момент вивчено:
Опції `fetch`, які ми розглянули:

- `body` -- the data to send (request body) as `string`, `FormData`, `BufferSource`, `Blob` or `UrlSearchParams` object.
Опції `fetch`, котрі на даний момент вивчено:
- `method` -- HTTP-метод,
- `headers` -- об'єкт із запитуваними заголовками (не всі заголовки дозволені),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- `headers` -- об'єкт із запитуваними заголовками (не всі заголовки дозволені),
- `headers` -- об'єкт із заголовками запиту (не всі заголовки дозволені),

Copy link
Collaborator

@dolgachio dolgachio left a comment

Choose a reason for hiding this comment

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

Дякую, за переклад! Я написав кілька коментарів, я сам їх додам до вашого пулл реквеста і прийму його.
Проте, щоб повністю завершити переклад цієї статті потрібно перекласти задачу, яка знаходиться поряд із нею.

Якщо вам нескладно, зробіть ще один пулл реквест із цим перекладом.

@javascript-translate-bot
Copy link
Contributor

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

1 similar comment
@javascript-translate-bot
Copy link
Contributor

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

Co-authored-by: SuperMaxusa <41739128+SuperMaxusa@users.noreply.github.com>
@dolgachio
Copy link
Collaborator

@all-contributors add @kopijka for translation

@allcontributors
Copy link
Contributor

@stas-dolgachov

I've put up a pull request to add @kopijka! 🎉

Copy link
Collaborator

@dolgachio dolgachio left a comment

Choose a reason for hiding this comment

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

Done

@dolgachio dolgachio merged commit e43761c into javascript-tutorial:master Jun 2, 2023
@tarasyyyk tarasyyyk changed the title Update article.md Fetch Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants