Quotes API endpoints return book quotes in polish.
The base address of API is https://cytaty.herokuapp.com.
endpoint | method | sample response | description |
---|---|---|---|
/api/quotes | GET |
|
Returns all quotes in database. |
/api/quotes | POST Required params: text: String author: String |
|
Creates a new quote. Returns the created quote with the index. |
/api/quotes/random | GET |
|
Returns a random quote. |
/api/quotes/:id | GET |
|
Returns a single quote with the given index. |
- Random Quotes Machine - Vue app build with Quotes API (Live, Github repository)