mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
parent
457ea103d8
commit
da5a4b0641
20 changed files with 463 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue