• Internal

    Formats a URL for the FingerprintJS server API by replacing placeholders and appending query string parameters.

    Type Parameters

    • Path extends keyof paths
    • Method extends string | number | symbol

    Parameters

    • options: GetRequestPathOptions<Path, Method>
      • path

        The path of the API endpoint

      • pathParams

        Path parameters to be replaced in the path

      • apiKey

        API key to be included in the query string

      • queryParams

        Query string parameters to be appended to the URL

      • region

        The region of the API endpoint

      • method

        The method of the API endpoint

    Returns string

    The formatted URL with parameters replaced and query string parameters appended