I have the following working code:
private async sendRequest (url: AxiosRequestConfig[\'url\'], data: AxiosRequestConfig[\'data\'], method: