Get the Newsletter

put

A Method

put(input: any, body?: any, init?: RequestInit): Promise

Calls fetch with request method set to PUT.

Parameters

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

Returns

A Promise for the Response from the fetch request.