2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00

Doc fixes, minor examples cleanup (#2198)

* README.md COOKBOOK.md: minor fixes

 * simplify language

* ECOSYSTEM: create a few categories

* Examples: log port listening to

* upgrade bootstrap 3 -> 4 in examples

bootstrap 4 is slightly smaller then 3.2.0
so it should also help load examples faster

* categorize 0.19 items a little differently

surface user/consumer changes first
This commit is contained in:
Avindra Goolcharan
2019-09-07 08:05:26 -04:00
committed by Felipe Martins
parent a11cdf4683
commit 6a4a85c57f
12 changed files with 44 additions and 27 deletions
+1 -1
View File
@@ -538,7 +538,7 @@ axios.get('/user/12345')
});
```
You can define a custom HTTP status code error range using the `validateStatus` config option.
Using the `validateStatus` config option, you can define HTTP code(s) that should throw an error.
```js
axios.get('/user/12345', {