diff --git a/README.md b/README.md index bdbd4a4..a520d20 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ await WebRequest.get('http://xyzzy.com/123', {throwResponseError: true}); Throw an exception for any request that results in an error response. ```js -WebRequest.defaults({throwResponseErrors: true}); +WebRequest.defaults({throwResponseError: true}); ``` ## Interface