2 Commits

View File

@@ -22,7 +22,7 @@ public class PlunkEmailSender(HttpClient httpClient, string plunkSecretKey) : IE
Encoding.UTF8,
"application/json"
);
httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", plunkSecretKey);
var response = await httpClient.PostAsync("https://api.useplunk.com/v1/send", jsonContent);