I am trying to send a confirmation message to my API after click on activation link , I am trying lot but failed , http://polestarllp.com/users/useractive.php?contranumberid=23215
<script type="text/javascript">
$(document).ready(function () {
var person = "<?php $data; ?> ";
$.ajax({
url: 'http://192.168.1.102:1512/qlikapi/RegisterUser',
//type: 'Post',
data:person,
success: function (data, xhr) {
alert(data.ErrorMessage);
if(data.Success)
{
document.location.reload();
}
},
error: function (xhr, textStatus, errorThrown) {
console.log('Error in Operation');
}
});
});
</script>
<style>