Created
December 21, 2020 16:59
-
-
Save rotimi-best/26a85b82b602987a7fc1bc66b2c28d1f to your computer and use it in GitHub Desktop.
Revisions
-
rotimi-best created this gist
Dec 21, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ fetch('https://httpbin.org/post', { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: JSON.stringify({a: 1, b: 'Textual content'}) });