WebRequest request2 = (HttpWebRequest)WebRequest.Create("https://authapi.demo.bluetarp.com/auth/v1.1/207/customers?merchant-cid=10000");
request2.Headers.Add(HttpRequestHeader.Authorization, "Bearer " + responseFromServer);
request2.Proxy = new WebProxy("http://52.150.51.110:33218",true);
Comments
We also have this issue, we need to whitelist the outbound IP address used by the HttpClient and are unable to add the tens of thousands of addresses assigned to each datacentre. It would be great if Microsoft could provide a fixed address rather than using a proxy server.
Category: Development
Having a Proxy with NTLM authentication, I'd also like to request to have the UseDefaultCredentials logic
Category: Development
Business Central Team (administrator)
Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future.
Best regards,
Business Central Team