public static void Main()
var client = new HttpClient();
var request = new HttpRusing System;
public static void Main()
var client = new HttpClient();
var request = new HttpRequestMessage
RequestUri = new Uri("https://apidojo-yahoo-finance-v1.p.rapidapi.com/auto-complete?q=tesla®ion=US"),
{ "x-rapidapi-host", "apidojo-yahoo-finance-v1.p.rapidapi.com" },
using (var response = await client.SendAsync(request))
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
RequestUri = new Uri("https://apidojo-yahoo-finance-v1.p.rapidapi.com/auto-complete?q=tesla®ion=US"),
{ "x-rapidapi-host", "apidojo-yahoo-finance-v1.p.rapidapi.com" },
using (var response = await client.SendAsync(request))
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();