Added Pushbullet notifications #1459 #865

This commit is contained in:
Jamie.Rees 2017-08-03 15:01:45 +01:00
commit da5a4b0641
20 changed files with 463 additions and 7 deletions

View file

@ -78,6 +78,11 @@ namespace Ombi.Api
ContentHeaders.Add(new KeyValuePair<string, string>(key, value));
}
public void ApplicationJsonContentType()
{
AddContentHeader("Content-Type", "application/json");
}
public void AddQueryString(string key, string value)
{
if (string.IsNullOrEmpty(key) || string.IsNullOrEmpty(value)) return;