const url = 'API URL';
fetch(url)
.then(function (data) {
return data.json();
})
.then(function (json) {
console.log(json.entity)
});
fetch APIを使ったAPIアクセス
In:
const url = 'API URL';
fetch(url)
.then(function (data) {
return data.json();
})
.then(function (json) {
console.log(json.entity)
});
In:
コメントを残す