Harold Thompson10,407 Points
How to set parameters on set_cookie method? Flask Basics Challenge 3 of 3
I keep on getting, "Bummer: Didn't get 'treehouse cookie error"
from flask import Flask, make_response app = Flask(__name__) @app.route('/save') def save(): response = make_response response.set_cookie('treehouse', "save") return response
Jennifer NordellTreehouse Teacher
Hi there, Harold Thompson! You're doing terrific. I'm not exactly sure when (or why) this happened, but the ending parentheses that are supposed to be beside
make_response have disappeared.
response = make_response
You should have:
response = make_response()
Hope this helps!