IRequest
IRequest: (apiEndpoint: string, options?: RequestInit, contentType?: string) => Promise<Response>
Type declaration
-
- (apiEndpoint: string, options?: RequestInit, contentType?: string): Promise<Response>
-
Parameters
-
apiEndpoint: string
-
Optional options: RequestInit
-
Optional contentType: string
Returns Promise<Response>