Corrected spelling of "representation"
Thank you!
This commit is contained in:
parent
58f6599df7
commit
ce37f7c8de
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ if (response.ok) { // if HTTP-status is 200-299
|
|||
- **`response.json()`** -- parse the response as JSON,
|
||||
- **`response.formData()`** -- return the response as `FormData` object (explained in the [next chapter](info:formdata)),
|
||||
- **`response.blob()`** -- return the response as [Blob](info:blob) (binary data with type),
|
||||
- **`response.arrayBuffer()`** -- return the response as [ArrayBuffer](info:arraybuffer-binary-arrays) (low-level representaion of binary data),
|
||||
- **`response.arrayBuffer()`** -- return the response as [ArrayBuffer](info:arraybuffer-binary-arrays) (low-level representation of binary data),
|
||||
- additionally, `response.body` is a [ReadableStream](https://streams.spec.whatwg.org/#rs-class) object, it allows you to read the body chunk-by-chunk, we'll see an example later.
|
||||
|
||||
For instance, let's get a JSON-object with latest commits from GitHub:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue