good source: https://github.github.io/fetch/
-
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
-
From WHATWG (Web Hypertext Application Technology Working Group): https://fetch.spec.whatwg.org/
-
defaults:
- method: 'GET'
I keep all my JSON notes here: https://github.com/Codemon72/JavaScript--Gym_and_Library/blob/master/JSON.md
- when do I use what?
- JSON.parse(request.responseText) - client: turn JSON into JS object
- json() - watch out if you are in JS or in Express land!