Hello i am trying to post a form data via $.post
but getting the following error. but when I run this URL manually, it works fine.
Code is:
$.post(
'http://dev.mydoamin/capture/' + ip + '/1',
$('form#frm1').serialize(),
function (data) {
var parsedJson = jQuery.parseJSON(data);
}
);