Can we have an API exposed which returns list of quotes? That would be helpful for starting an application. Later everyday I can use your developed APi which sends a single quote.
Just add the “count” param with a number from 2 to 10 and you’ll get a response like this:
[
{“quote”:“Do, or do not. There is no ‘try’.”,“author”:“Star Wars: Empire Strikes Back”,“category”:“Movies”},
{“quote”:“Frankly, my dear, I don’t give a damn.”,“author”:“Gone With the Wind”,“category”:“Movies”},
{“quote”:“Here’s looking at you, kid.”,“author”:“Casablanca”,“category”:“Movies”},
]
चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:
नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें
Sure!
Just add the “count” param with a number from 2 to 10 and you’ll get a response like this:
[
{“quote”:“Do, or do not. There is no ‘try’.”,“author”:“Star Wars: Empire Strikes Back”,“category”:“Movies”},
{“quote”:“Frankly, my dear, I don’t give a damn.”,“author”:“Gone With the Wind”,“category”:“Movies”},
{“quote”:“Here’s looking at you, kid.”,“author”:“Casablanca”,“category”:“Movies”},
]