Variable

Report a typo

Create a simple class view-based Flask API with the following HTTP:

URL Method Description
/users/<user> GET Returns YES if the user is in the user list, otherwise NO
Write a program in Python 3
app = Flask(__name__)
users = ["John","Thom","Ed"]

class Users(MethodView):
#write your code here
___

Create a free account to access the full topic