Question: A quote web API returns a collection of randomly selected quotes related to a given topic. The API supports two query string parameters: topic -
A quote web API returns a collection of randomly selected quotes related to a given topic. The API supports two query string parameters:
topic Specifies the requested topic. Valid topics are love, motivational, wisdom, and humor.
count Specifies the number of quotes requested and must be a number from to
Ex: The API request: The fetchQuotes function in quote.js is called with the selected topic when the Fetch Topic button is clicked. Currently, fetchQuotes displays example quotes in an ordered list inside the
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
