You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var authenticationString = $"{_username}:{_password}";
var base64EncodedAuthenticationString = Convert.ToBase64String(System.Text.Encoding.ASCII.GetBytes(authenticationString));
DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Basic", base64EncodedAuthenticationString);
The text was updated successfully, but these errors were encountered:
In documentatia API https://btepos.ro/documentatie din 22.03.2024 este introdusa "Autentificare endpoint-uri API." folosind Basic Authorization.
https://stackoverflow.com/questions/58014360/how-do-you-use-basic-authentication-with-system-net-http-httpclient
The text was updated successfully, but these errors were encountered: