Get a random quote via Character
This is a protected endpoint. Authentication requried!
This endpoint a random quote from a given character name.
The endpoint:
/quotes/random?character=<character>
Return
It will return a Quote
object
Example:
We are using the built-in global
fetch
API here, which is both available in browser and NodeJS as of now. But you can use any other programming language or request lib.
const response = await fetch(`${BASE_URL}/quotes/random?character=Saitama`)
const quote = await response.json()