SyntaxFix
Write A Post
Hire A Developer
Questions
request.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue( "Basic", Convert.ToBase64String( System.Text.Encoding.UTF8.GetBytes( $"{yourusername}:{yourpwd}")));