var settings = { "async": true, "crossDomain": true, "url": "https://www.emailmagnifier.com/api/v1.0/analizeemail", "method": "POST", "headers": { "content-type": "application/json", }, "data": "{'Email': 'example@server.com', 'AnalyzeAllMXRecords': true, 'TestPosibility': true, 'AuthorizationKey': 'a1a1a1a1-b2b2-c3c3-d4d4-e5e5e5e5e5e5'}" } $.ajax(settings).done(function (response) { console.log(response); });
var settings = { "async": true, "crossDomain": true, "url": "https://www.emailmagnifier.com/api/v1.0/analizeemails", "method": "POST", "headers": { "content-type": "application/json", }, "data": "{'Emails': ['example@server.com','example1@server.com','example2@server.com'], 'ResultURL' : 'http://www.returnurl.com', 'AnalyzeAllMXRecords': false, 'TestPosibility': true, 'AuthorizationKey': 'a1a1a1a1-b2b2-c3c3-d4d4-e5e5e5e5e5e5'}" } $.ajax(settings).done(function (response) { console.log(response); });