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:
committed by
Felipe Martins
parent
a11cdf4683
commit
6a4a85c57f
@@ -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', {
|
||||
|
||||
Reference in New Issue
Block a user