Fetch API (function)
The most useful, high-level part of the Fetch API is the fetch()
function. In its simplest form it takes a URL and returns a promise that resolves to the response. The response is captured as a Response
object.
Submitting some parameters, it would look like this:
For more information about the fetch method, please check this link https://hacks.mozilla.org/2015/03/this-api-is-so-fetching/
Last updated