Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 2.01 KB

protectedResourceRequest.md

File metadata and controls

29 lines (19 loc) · 2.01 KB

Function: protectedResourceRequest

💗 Help the project

protectedResourceRequest(accessToken, method, url, headers?, body?, options?): Promise<Response>

Performs a protected resource request at an arbitrary URL.

Authorization Header is used to transmit the Access Token value.

Parameters

Name Type Description
accessToken string The Access Token for the request.
method string The HTTP method for the request.
url URL Target URL for the request.
headers? Headers Headers for the request.
body? null | string | ArrayBuffer | ArrayBufferView | Blob | FormData | URLSearchParams | ReadableStream<any> Request body compatible with the Fetch API and the request's method.
options? ProtectedResourceRequestOptions -

Returns

Promise<Response>

See