mirror of
https://github.com/tenrok/axios.git
synced 2026-06-23 20:40:40 +03:00
Update README.md (#1709)
This commit is contained in:
committed by
Emily Morehouse
parent
6a414cb9a3
commit
90add808a4
@@ -157,8 +157,8 @@ axios({
|
|||||||
responseType:'stream'
|
responseType:'stream'
|
||||||
})
|
})
|
||||||
.then(function(response) {
|
.then(function(response) {
|
||||||
response.data.pipe(fs.createWriteStream('ada_lovelace.jpg'))
|
response.data.pipe(fs.createWriteStream('ada_lovelace.jpg'))
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
##### axios(url[, config])
|
##### axios(url[, config])
|
||||||
|
|||||||
Reference in New Issue
Block a user