This REST api has 3 end points :
'/api/quotes/random'
response with JSON of a random quote like below ๐
{
"quoteAuthor": "Johann Wolfgang von Goethe",
"quoteText": "Great talent finds happiness in execution."
}
'/api/quotes'
response with JSON of 300+ quotes like below ๐
{
"quotes": [
{
"quoteAuthor": "Thomas Edison",
"quoteText": "Genius is one percent inspiration and ninety-nine percent perspiration."
},
{
"quoteAuthor": "Yogi Berra",
"quoteText": "You can observe a lot just by watching."
},
{
"quoteAuthor": "Abraham Lincoln",
"quoteText": "A house divided against itself cannot stand."
},
{
"quoteAuthor": "Johann Wolfgang von Goethe",
"quoteText": "Difficulties increase the nearer we get to the goal."
},
....]
}
'/api'
leads to a web page having information about this REST api