Skip to content

Commit

Permalink
Updated base API path
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkBrouwersCM committed Mar 23, 2023
1 parent 38db5eb commit afab9db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CM.Cdp.Events.Sdk/CdpEventsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class CdpEventsClient : BaseClient, ICdpEventsClient
/// <param name="httpClient">The HttpClient used for sending communicating with CDP. Generally, you should use only one version within your application.</param>
/// <param name="apiKey">Your Product token, used for authentication. (Found in your CDP app under "settings", optional)</param>
/// <param name="baseUrl">The base URL of the CM CDP API (Optional)</param>
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) { }

/// <summary>
/// Add new events
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit afab9db

Please sign in to comment.