Answer the question
In order to leave comments, you need to log in
Why does Google api return an error with status 200?
$.ajax({
url: 'https://maps.googleapis.com/maps/api/elevation/json?locations=39.7391536,-104.9847034',
type: "GET",
dataType: 'jsonp',
cache: false,
}).then(function(response){
console.log(response);
},
function(er){
console.log('error')
console.log(er)
});
Answer the question
In order to leave comments, you need to log in
well, status 200 is the status of the server response, not logic
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question