2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-21 13:24:11 +03:00

Fixing spacing for README.md (#2066)

This commit is contained in:
Josh McCarty
2019-05-07 16:16:14 -04:00
committed by Emily Morehouse
parent 48c43d5240
commit ddcc2e4bc0
+3 -3
View File
@@ -153,9 +153,9 @@ axios({
```js
// GET request for remote image
axios({
method:'get',
url:'http://bit.ly/2mTM3nY',
responseType:'stream'
method: 'get',
url: 'http://bit.ly/2mTM3nY',
responseType: 'stream'
})
.then(function (response) {
response.data.pipe(fs.createWriteStream('ada_lovelace.jpg'))