Guide
To access the API, there are a few ways to do it. It depends on what you are trying to accomplish with it.
Direct request with <img>
block
<img src="https://jokesbapak2.herokuapp.com/v1/" />
Using fetch API
You can use it, but I personally don't recommend it.
fetch("https://jokesbapak2.herokuapp.com/v1/")
.then(response => response.text())
.then(data => console.log(data))
// data is a base64 string
<img src="data:image/jpeg;base64, { data }" />
.then(response => response.text())
.then(data => console.log(data))
// data is a base64 string
<img src="data:image/jpeg;base64, { data }" />