When to use
JSONPlaceholder is a free online REST API that you can use whenever you need some fake data. It can be in a README on GitHub, for a demo on CodeSandbox, in code examples on Stack Overflow, ...or simply to test things locally.
JSONPlaceholder comes with a set of 6 common resources:
Note: resources have relations. For example: posts have many comments, albums have many photos, ... see guide for the full list.
All HTTP methods are supported. You can use http or https for your requests.
Note: see guide for usage examples.
Use your own data
With our sponsor Mockend and a simple GitHub repo, you can have your own fake online REST server in seconds.