Every way found on internet regarding sending a request in C# .NET, and setting a custom header / authorization is only visible in the VS request, but when i check on fiddler it's not there. I don't believe it's a code problem, i think it has to do with something else.
Latest way tried:
var form = new MultipartFormDataContent();
form.Add(new ByteArrayContent(fileContent, 0, fileContent.Length), "image", filename);
HttpRequestMessage message = new HttpRequestMessage(HttpMethod.Post, URL)
{
Content = form
};
message.Headers.Authorization = new AuthenticationHeaderValue("Basic", AuthCode);
var response = httpClient.SendAsync(message).Result;
string apiResponse = response.Content.ReadAsStringAsync().Result;