Vainolo's Blog

JSONPlaceholder: a “mock” RESTful API for Learning/Testing

leave a comment

When I’m learning new things, I always like to have real, simple examples that work. This makes for easier progress and also gives a good feeling that I’m on the right track. As I was learning how to work with APIs in Java, I needed some simple API to call to check that I was doing things right.

And I found the perfect match for this: JSONPlaceholder. This simple API supports all verbs (GET, POST, PUT, PATCH, DELETE and OPTIONS). It contains mock data that can be fetched, updated, and deleted. And best of all, requires no registration or special configuration. Just call the endpoints and things work.

Can’t be more grateful to these guys. Thanks!

Written by vainolo

October 25th, 2015 at 10:32 am

Posted in Thoughts

Tagged with , , , , , ,

Leave a Reply

%d bloggers like this: