nextspace
    Preparing search index...

    Function RetrieveData

    • Retrieve data from the API.

      Parameters

      • urlSuffix: string

        The endpoint suffix to retrieve data from.

      • Optionaltoken: string

        Optional bearer token for authorization.

      • OptionaldataType: string

        Optional data type to specify how to parse the response (e.g., "json", "text").

      Returns Promise<any>

      Promise