I am trying to call this URL in my javascript code:
This is my javascript code:
$.ajax({
url: 'http://api.addressify.com.au/address/autoComplete',
type: 'GET',
crossDomain: true, // enable this
data: 'api_key=99acd24a-1c94-49ad-b5ef-6f90d0f126b1&term=1+George+st+t&state=nsw&max_results=5', // or $('#myform').serializeArray()
success: function () { alert('PUT completed'); }
});
I am getting error of Cross Domain URL in console.
Any help?