diff --git a/CM.Cdp.Events.Sdk/CdpEventsClient.cs b/CM.Cdp.Events.Sdk/CdpEventsClient.cs index c321140..d792112 100644 --- a/CM.Cdp.Events.Sdk/CdpEventsClient.cs +++ b/CM.Cdp.Events.Sdk/CdpEventsClient.cs @@ -20,7 +20,7 @@ public class CdpEventsClient : BaseClient, ICdpEventsClient /// The HttpClient used for sending communicating with CDP. Generally, you should use only one version within your application. /// Your Product token, used for authentication. (Found in your CDP app under "settings", optional) /// The base URL of the CM CDP API (Optional) - public CdpEventsClient(HttpClient httpClient, Guid? apiKey, string baseUrl = "https://api.cm.com") : base(httpClient, apiKey, baseUrl) { } + public CdpEventsClient(HttpClient httpClient, Guid? apiKey, string baseUrl = "https://api.cdp.cm.com") : base(httpClient, apiKey, baseUrl) { } /// /// Add new events diff --git a/README.md b/README.md index f69c776..8065a52 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ CdpEventsClient eventsClient = new CdpEventsClient(httpClient, myApiKey); `myApiKey` is your unique api key (or product token) which authorizes you on the CM platform. Always keep this key secret! -`baseUrl` is optional and will be defaulted to https://api.cm.com when not filled in. Else the requests will be send to the filled in domain. +`baseUrl` is optional and will be defaulted to https://api.cdp.cm.com when not filled in. Else the requests will be send to the filled in domain. ## Send an event