Get All Quote
To get the data in the specified collection. If no parameters are passed, it lists all of them. Otherwise, it lists the documents in the collection matching the specified parameters:
Method : GET
URL : /api/quote
Response : 200 - OK
[
{
"id": 1,
"author_id": 13,
"quote": "Be yourself; everyone else is already taken.",
"book_authors": {
"id": 13,
"name": "Oscar Wilde",
"slug": "oscar-wilde"
}
},
{
"id": 2,
"author_id": 217,
"quote": "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.",
"book_authors": {
"id": 217,
"name": "Albert Einstein",
"slug": "albert-einstein"
}
}
]
Response : 404 - Not Found
Not Found
Response : 500 - Server Error
Internal Server Error