API、JSON、およびJqueryについて学び始めたばかりです。どのように私はjQueryの呼び出しから次のログをコンソールでしょう -コンソールログJSONの結果
名:「オールドミルカフェ」
ここに私の現在のコードです:
$(document).ready(function(){
$("#mainbutton").on("click", function() {
$.ajax({
url: "https://developers.zomato.com/api/v2.1/search?entity_id=Chicago%2C%20IL%20&entity_type=city",
headers: {
"X-Zomato-API-Key": "…"
},
method: "GET"
}).done(function(data) {
console.log(data);
});
});
});
ご質問はありますか? – Mikkel