Read more about applying web requests to external resources in scripts in
the article about external services.

Type aliases

URLSearchParams

URLSearchParams: Record<string, string | string[]>

These parameters are used in the FetchRequest object.

Functions

fetch

  • The method is used to make web requests.

    Read more about using the method in the article about the fetch() method.

    Parameters

    • url: string

      Link to the requested resource.

    • Optional init: FetchRequest

      Request parameters.

    Returns Promise<FetchResponse>

    Result of the request to the resource.