This commit is contained in:
Ilya Kantor 2020-12-05 20:41:32 +03:00
parent 75a56dac98
commit a964025a5d
3 changed files with 32 additions and 32 deletions

View file

@ -27,7 +27,7 @@ let promise = fetch(url, [options])
- **`url`** -- the URL to access.
- **`options`** -- optional parameters: method, headers etc.
Without `options`, that is a simple GET request, downloading the contents of the `url`.
Without `options`, this is a simple GET request, downloading the contents of the `url`.
The browser starts the request right away and returns a promise that the calling code should use to get the result.