Stuur je API-key mee in de HTTP headers voor een veilige verbinding:
var client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", "UW_API_KEY");
var response = await client.GetAsync("https://api.adresso.nl");
http.Open "GET", "https://api.adresso.nl", False http.setRequestHeader "Authorization", "Bearer " & GlobalApiKey http.Send