Api work for #205

Refactored how we check if the user has a valid api key
Added POST request, PUT and DELTE

Also some work on the updater #29
This commit is contained in:
tidusjar 2016-05-19 10:36:02 +01:00
commit 7266f20927
10 changed files with 306 additions and 80 deletions

View file

@ -192,7 +192,7 @@ namespace PlexRequests.Updater
private void FinishUpdate()
{
var startInfo = new ProcessStartInfo("PlexRequests.exe") { Arguments = Error ? "-u false" : "-u true" };
var startInfo = new ProcessStartInfo("PlexRequests.exe") { Arguments = Error ? "-u 2" : "-u 1" };
Process.Start(startInfo);
Environment.Exit(0);