I am building something similar on top of it & was thinking to use the API to get the quotes. However, when I'm using the endpoints in Postman, I'm able to get the response but have been unsuccessful to get any response when trying via JavaScript. It's giving CORS policy issue.
Here's a sample code that you could try from any file or Chrome dev tools. Any help would be greatly appreciated!!
fetch("https://akabab.github.io/superhero-api/api/all.json")
.then(response => console.log(response))
.catch(error => console.log('error', error));