The Free Software Media System - Server Backend & API
switch authentication to json content type
LukePulverentibbba73bc6f29
diff --git a/MediaBrowser.Api/Javascript/ApiClient.js b/MediaBrowser.Api/Javascript/ApiClient.jsindex a57722e503..08082c389c 100644--- a/MediaBrowser.Api/Javascript/ApiClient.js+++ b/MediaBrowser.Api/Javascript/ApiClient.js@@ -1066,7 +1066,14 @@ var ApiClient = {if (password) {postData.password = password;}- return $.post(url, postData);++ return $.ajax({+ type: "POST",+ url: url,+ data: JSON.stringify(postData),+ dataType: "json",+ contentType: "application/json"+ });},/**