jsonplaceholder logojsonplaceholder
GitHub

jsonplaceholder

RTL fake REST/GraphQL API for testing and prototyping, based on {JSON}Placeholder.

Try GET, POST or other HTTP methods on /posts, /comments, /photos, /todos or /users. Checkhow tofor more examples.

fetch('https://jsonplaceholder.ir/users', {
  method: 'GET',
})
  .then(response => response.json())
  .then(json => console.log(json))