Tuesday, September 1, 2020

Url to get sample json data

Url to get sample json data - https://jsonplaceholder.typicode.com/posts

function getData() {
console.log('Fetching remote articles');
return fetch('https://jsonplaceholder.typicode.com/posts')
}

No comments:

Post a Comment

Followers

Blog Archive