commit
3543d6d008
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ If we've already got the response with `response.text()`, then `response.json()`
|
|||
```js
|
||||
let text = await response.text(); // response body consumed
|
||||
let parsed = await response.json(); // fails (already consumed)
|
||||
```
|
||||
````
|
||||
|
||||
## Response headers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue