jsonplaceholder: a free fake API for testing and prototyping

https://jsonplaceholder.typicode.com

Example

      
fetch('https://jsonplaceholder.typicode.com/todos/1')
  .then(response => response.json())
  .then(json => console.log(json))
      
    

Output

      
{
  id: 1,
  title: '...',
  body: '...',
  userId: 1
}
      
    

Photo by Kai Wenzel on Unsplash