fetch APIを使ったAPIアクセス

const url = 'API URL';
fetch(url)
.then(function (data) {
    return data.json();
})
.then(function (json) {
    console.log(json.entity)
});

In:

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です