How to get Single blogs

Fetch the endpoint provided below to retrieve single blogs by blog id, and also test it here. Once you’ve fetched the endpoint, you can explore the array of blog it returns. If you encounter any issues or have any questions, don't hesitate to reach out for assistance. Happy exploring!

Get Single

Copy code

fetch('https://dummyblogapi.vercel.app/api/id/661b79f9afa98e5ea6cea585')
.then(res => res.json())
.then(json => console.log(json))