function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JonSimmonsJonSimmons 

Bypass Proxy

 
Can anyone provide a code snippet (in any language) that shows the proper method of bypassing a proxy server to allow API access to salesforce?
 
My code looks like this, but it's not working as expected.  (C#)
Code:
                System.Net.IWebProxy myProxy;
                myProxy = new System.Net.WebProxy();
                System.Uri myUri = new System.Uri(binding.Url);
                myProxy.GetProxy(myUri);

                binding.Proxy = myProxy;

                loginResult = binding.login(user, pass);
 
 

 Thanks
Jon

 
werewolfwerewolf