From 960a583d568f75913c18a15219a75cab5f0b6b13 Mon Sep 17 00:00:00 2001 From: Matt Zabriskie Date: Thu, 28 Aug 2014 12:37:13 -0600 Subject: [PATCH] Updating README --- README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3888d15..4e90620 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.