diff --git a/README.md b/README.md index 279cd21..96c8331 100755 --- a/README.md +++ b/README.md @@ -578,7 +578,7 @@ Using the `validateStatus` config option, you can define HTTP code(s) that shoul ```js axios.get('/user/12345', { validateStatus: function (status) { - return status < 500; // Reject only if the status code is greater than or equal to 500 + return status < 500; // Resolve only if the status code is less than 500 } }) ```