diff --git a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Client/ApiClient.cs b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Client/ApiClient.cs index d1787ceb..878cf9ed 100644 --- a/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Client/ApiClient.cs +++ b/cybersource-rest-client-netstandard/cybersource-rest-client-netstandard/Client/ApiClient.cs @@ -957,7 +957,7 @@ public void CallAuthenticationHeaders(string requestType, string requestTarget, //Set the Configuration Configuration.DefaultHeader = authenticationHeaders; - RestClient = new RestClient("https://" + merchantConfig.HostName); + RestClient.BaseUrl = new Uri("https://" + merchantConfig.HostName); if (Configuration.Proxy != null) {