Get the Newsletter

get

A Method

get(input: any, init?: RequestInit): Promise

Calls fetch as a GET request.

Parameters

input: any
The resource that you wish to fetch. Either a Request object, or a string containing the URL of the resource.
init?: RequestInit
An options object containing settings to be applied to the Request.

Returns

A Promise for the Response from the fetch request.