From 27770a8ad1dbe3418d46f41cab4144fe1dc2e4c0 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Mon, 24 Aug 2020 12:04:10 +0000 Subject: [PATCH] fix(core): update --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 310e0a3..85abf58 100644 --- a/readme.md +++ b/readme.md @@ -48,7 +48,7 @@ Use TypeScript for best in class instellisense. import * as smartrequest from 'smartrequest' // simple post -let options: smartrequest.ISmartRequestOptions = { // typed options +const options: smartrequest.ISmartRequestOptions = { // typed options headers: { "Content-Type": "application/json" "Authorization": "Bearer token" @@ -66,7 +66,7 @@ smartrequest.request('https://example.com', options).then(res => { console.log(err) }) -// dedicated JSON metods are available: +// dedicated JSON methods are available: smartrequest.getJson(...) smartrequest.postJson(...) smartrequest.putJson(...)