Module

RequestConfig

This module handles Axios Request Config for API request.

View Source client/src/utils/api/index.ts, line 7

Methods

# async inner makeApiCall(url, method, payload, axiosRequestConfig) → {Promise.<object>}

Api request configuration

Parameters:
Name Type Default Description
url string

request url

method string get

request method

payload object

request data

axiosRequestConfig AxiosRequestConfig

axiosRequestConfig

View Source client/src/utils/api/index.ts, line 24

response data

Promise.<object>