tokenizedFetch(input: RequestInfo | URL , init?: RequestInit ) : Promise< Response >
Fetch wrapper that adds the authentication token to the request. Use this to call the ThoughtSpot APIs when using the visual embed sdk.
Function Parameters
- input
-
-
input: RequestInfo | URL
-
- init
-
Optional
-
init: RequestInit
-
Returns
Promise< Response >
Version : SDK: 1.28.0
Defined in : tokenizedFetch.ts