I am trying to make following ajax request:
$.ajax({
method: "GET",
url: http://google.com,
dataType: "json",
async: false,
cache: false,
success: function(data) {
alert("AJAX call successfully
completed");}});
But as expected, I am getting "Cross-Origin" error. Is there any way to bypass this security and make the ajax call without this error even if ajax call is being made from different domain.
Any response is appreciated.