2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

Updating README

This commit is contained in:
Matt Zabriskie
2014-08-28 11:44:22 -06:00
parent d49cb34591
commit fe32d44336
+5 -1
View File
@@ -103,9 +103,13 @@ When using the alias methods `url`, `method`, and `data` properties don't need t
firstName: 'Fred'
},
// `withCredentials` indicates whether or not cross-site Access-Control requests
// should be made using credentials
withCredentials: true,
responseType: 'json' // default
// `responseType` indicates the type of data that the server will responsd with
// options are 'arraybuffer', 'blob', 'document', 'json', 'text'
responseType: 'json'
}
```