Question 20
Consider following flask app.
from flask import Flaskfrom flask_restful import Resource, Api
app = Flask(__name__)api = Api(app)
class Testing(Resource): def get(self): return {'data': 'GET'}
def post(self, data): return {'data':'POST'}
api.add_resource(Testing, '/', '/<string:data>')
if __name__ == '__main__': app.run(debug=True)The flask app is running locally in the terminal. Which of the following command(s) will return the response without any error?