I am trying to make an ajax call on the below url
http://postalpincode.in/api/postoffice/tindivanam
which works fine with chrome address bar.
but if i use
city = 'Tindivanam';
jQuery.ajax({
url: 'http://postalpincode.in/api/postoffice/'+_.toLower(city),
method: 'GET',
success:function(response){
console.log(response)
}
})
I am getting this