1let url = 'https://example.com';
2
3fetch(url)
4.then(res => res.json())
5.then((out) => {
6 console.log('Checkout this JSON! ', out);
7})
8.catch(err => { throw err });
1let url = 'https://www.zedge.net/wallpapers';
2
3fetch(url)
4.then(res => res.json())
5.then((out) => {
6 console.log('Checkout this JSON! ', out);
7})
8.catch(err => { throw err });