Authentication
var credentials = Convert.ToBase64String(
Encoding.UTF8.GetBytes($"{publicKey}:{secretKey}"));
using var message = new HttpRequestMessage(
new HttpMethod("GET"),
"http://localhost:59318/odata/v1/Customers");
message.Headers.Authorization = new AuthenticationHeaderValue("Basic", credentials);
// Authorization: Basic ZWE2NGQ0YTIyZGI1......ZDY4NGRlMDRmZEFiZGUwMmY3MTg=Reasons for denial
AuthResultId
AuthResultDesc
Description
Last updated
Was this helpful?