Question 19
Consider the following TodoSimple resource class created using flask_restful.
from flask import Flask, requestfrom flask_restful import Resource, Api
app = Flask(__name__)api = Api(app)
class TodoSimple(Resource): def get(self, todo_id): return {"todo_id": todo_id}
def put(self): todo_id = request.args.get("todo_id") return {"todo_id": todo_id}
app.run()Which of the following statements given below will correctly map the resource URLs with the TodoSimple resource class.