diff --git a/README.md b/README.md index 3888d154b1f53702a60e44f79695065e6456b9ac..4e90620b792f85c3356da01103fd48079611207e 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,12 @@ Performing a `GET` request ```js // Make a request for a user with a given ID axios.get('/user?ID=12345') - .success(function (response) { - console.log(response); - }) - .error(function (response) { - console.log(response); - }); +.success(function (response) { + console.log(response); +}) +.error(function (response) { + console.log(response); +}); // Optionally the request above could also be done as axios.get('/user', { @@ -156,6 +156,10 @@ Using npm: $ npm install axios ``` +## Compatability + +Tested to work with >=IE8, Chrome, Firefox, Safari, and Opera. + ## Attribution axios is heavily inspired by Angular's $http service.