API Documentatie

Authenticatie (Bearer Token)

Stuur je API-key mee in de HTTP headers voor een veilige verbinding:

Authorization: Bearer UW_API_KEY
C# VBA / Access

Voorbeeld C# (.NET)

var client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", "UW_API_KEY");
var response = await client.GetAsync("https://api.adresso.nl");

Voorbeeld VBA (Access)

http.Open "GET", "https://api.adresso.nl", False
http.setRequestHeader "Authorization", "Bearer " & GlobalApiKey
http.Send