July 2018
Intermediate to advanced
324 pages
8h 14m
English
We implemented the /quote API and separated operations based on the query parameters. Let's execute the /quote?type=daily API. The following is the log snippet of the daily quote API execution using the cURL command-line tool:
$ curl http://localhost:8000/quote?type=daily{"quote": "I'll get you, my pretty, and your little dog, too!", "author": "The Wizard of Oz", "category": "Movies"}
This API will return a unique quote every day.
Read now
Unlock full access