0
const API_KEY = 'xxxxxxxxx';

const getData = fetch(`https://quizapi.io/api/v1/questions?apiKey=${ API_KEY }`)
                .then(res => res.json())
                .then(data => data)

console.log(getData);
DBS
  • 9,110
  • 4
  • 35
  • 53
kadroki
  • 11
  • 2

0 Answers0