2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

Merge branch 'master' of github.com:mzabriskie/axios

This commit is contained in:
Matt Zabriskie
2016-04-20 22:28:10 -06:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -119,9 +119,9 @@ var jsonp = require('jsonp');
jsonp('http://www.example.com/foo', null, function (err, data) { jsonp('http://www.example.com/foo', null, function (err, data) {
if (err) { if (err) {
console.error(error.message); console.error(err.message);
} else { } else {
console.log(data); console.log(data);
} }
}); });
``` ```
+1 -1
View File
@@ -121,7 +121,7 @@ axios({
##### axios(url[, config]) ##### axios(url[, config])
```js ```js
// Sned a GET request (default method) // Send a GET request (default method)
axios('/user/12345'); axios('/user/12345');
``` ```