From 9f3b27dcc25cf3fe0deb266717fc38051d39909b Mon Sep 17 00:00:00 2001 From: Sergei Sergeev Date: Thu, 30 Jul 2020 15:12:30 +0300 Subject: [PATCH] Added default options info. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 4ef3d09..10c9ef3 100644 --- a/README.md +++ b/README.md @@ -148,6 +148,16 @@ process.env['_sp_request_headers'] = JSON.stringify({ 'X-FORMS_BASED_AUTH_ACCEPTED': 'f' }); ``` +## Default options set by `sp-request` + +```javascript +{ + responseType: 'json', + resolveBodyOnly: false, + rejectUnauthorized: false, + retry: 0 +} +``` ## Development: