$.ajax({
headers: {
Accept: "text/html",
"Content-Type": "application/x-www-form-urlencoded",
"Authorization": "WfkrbC"
},
type: 'POST',
url: 'https://a.klaviyo.com/api/track',
success: function (response) {
console.log('sent');
console.log('------>', response);
}
});
Hi, can someone help what is wrong in my code, the issue shows in my console is BLOCKED BY CORS POLICY ISSUE
What im trying to achieve here is to see, if the track api is working