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
Posted: Mon Jun 06, 2022 1:27 pm
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.
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.