Design a Python Flask API that will do the following:
Return a set of random jokes as a Json array based on a url
variable. When the user requests the API, a random array of jokes
will be returned as a Json array. You can choose the API route you
like, a sample url can look
like: http://localhost:8000/jokes?num=10 (Links to an
external site.) so in this case the user will get an array of
10 random jokes.
Design a Python Flask API that will do the following: Return a set of random jokes as a Json array based on a url variab
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am