I have an ARC set up by the client and everything seems to be working OK in ARC and the back-end, but I cannot see what I'm doing wrong in jQuery
Here's the ARC test
Here's my jQuery code
$.ajax(
{
method: "POST",
url: "http://ift.tt/2uvVJMW",
headers: {
"Platform": "web",
"Build": 2
},
contentType: "application/json; charset=utf-8",
dataType: 'json',
data: { "email": "johndoe@server.com" }
}
)
.done(function (response) {
console.log('done!');
console.log(response);
})
.fail(function (response) {
console.log('fail!!!');
console.error(response);
});
Aucun commentaire:
Enregistrer un commentaire