/// <summary> /// Send the request /// </summary> /// <param name="method">The HTTP method to use when sending the request</param> /// <returns>The response from the API in plaintext format</returns> /// <exception cref="ArgumentNullException"><paramref name="method"/> is <see langword="null"/></exception> public async Task <ApiResponse> Send(HttpMethod method) { if (method is null) { throw new ArgumentNullException(nameof(method)); } Request.Method = method; var response = await _apiRequestService.SendAsync(Request); return(new ApiResponse(response)); }