0
このWebサービスからの応答を受け取れないのはなぜですか?なぜこのWebサービスから応答を受け取ることができないのですか?
$(document).ready(function() {
$.ajax({
url: "https://aip-rest.appspot.com/api/token/12416689"
}).then(function(data) {
$('.greeting-id').append(data.id);
$('.greeting-content').append(data.content);
});
});
私はhttp://rest-service.guides.spring.io/greetingと同じコードをテストしているし、それが働いています。あなたはAJAX呼び出しにそれを示すために持っているので、
に思えるそのHTTPSの応答://aip-rest.appspot.com/api/token/12416689 "id"や "content"はありません。 – Pang