Get a random quote via Character
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
fetchAPI 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()