Getting Started with JSON Bro

JSON Bro can be used with any type of frontend project that needs products, carts, users, todos or any dummy data in JSON format. You can use examples below to check how JSON Bro works.

Examples

Here are some examples of how to use JSON Bro API endpoints. Each example includes a code snippet and its expected output.

Posts

fetch('https://jsonbro.com/posts')
                .then(response => response.json())
                .then(data => console.log(data));

Todos

fetch('https://jsonbro.com/todos')
                .then(response => response.json())
                .then(data => console.log(data));

Products

fetch('https://jsonbro.com/products')
                .then(response => response.json())
                .then(data => console.log(data));