Interface SpotifyFetchOptions

Hierarchy

  • SpotifyFetchOptions

Properties

Properties

body?: string

The body of the request

headers: {
    Authorization: string;
    Content-Type?: string;
}

Valid headers for Spotify API requests

Type declaration

  • Authorization: string

    A valid access token used for Spotify API requests "Bearer TOKEN"

  • Optional Content-Type?: string

    The content type of the request body eg. "application/json"

A valid fetch request method to make the Spotify API request

Generated using TypeDoc