Get quotes from an Character
This is a protected endpoint. Authentication requried!
This endpoint returns 5 ordered quotes from a given Character name.
The endpoint:
/quotes/?character=<character>
Return
It will return an array
of 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?character=Saitama`)
const quote = await response.json()