diff --git a/Analytics/Request/BlockingRequestHandler.cs b/Analytics/Request/BlockingRequestHandler.cs index 4c5a0b5c..801d2d6e 100644 --- a/Analytics/Request/BlockingRequestHandler.cs +++ b/Analytics/Request/BlockingRequestHandler.cs @@ -97,7 +97,7 @@ internal class BlockingRequestHandler : IRequestHandler internal BlockingRequestHandler(Client client, TimeSpan timeout) : this(client, timeout, null, new Backo(max: 10000, jitter: 5000)) // Set maximum waiting limit to 10s and jitter to 5s { } - internal BlockingRequestHandler(Client client, TimeSpan timeout, Backo backo) : this(client, timeout, null, backo) + internal BlockingRequestHandler(Client client, TimeSpan timeout, Backo backo) : this(client, timeout, null, backo) { } #if NET35 @@ -155,7 +155,7 @@ public async Task MakeRequest(Batch batch) _backo.Reset(); try { - Uri uri = new Uri(_client.Config.Host + "/v1/import"); + Uri uri = new Uri(_client.Config.Host + "/v1/batch"); // set the current request time batch.SentAt = DateTime.Now.ToString("o"); @@ -305,7 +305,7 @@ public async Task MakeRequest(Batch batch) }); retry = true; } - catch (System.Exception e) + catch (System.Exception e) { Logger.Info("HTTP Post failed with exception of type Exception", new Dict {