switch authentication to json content type

pull/702/head
LukePulverenti 12 years ago
parent 713636a007
commit bbba73bc6f

@ -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"
});
},
/**

Loading…
Cancel
Save