Class RestApiService

Hierarchy

  • RestApiService

Index

Methods

buildQueryParams

makeRequest

  • makeRequest(endpoint: string, method?: string, queryParams?: {}, body?: any): Promise<any>
  • Parameters

    • endpoint: string
    • Default value method: string = "GET"
    • Default value queryParams: {} = {}
    • Default value body: any = null

    Returns Promise<any>