Python Flask Basics Character Builder Set a Cookie

Didnt get a treehouse cookie... What wrong am i doing here?

The error says "Didn't get a treehouse cookie" Cant figure out why. Can some one tell?

flask_app.py
from flask import Flask

from flask import make_response

app = Flask(__name__)


@app.route('/save')
def save():
    response = make_response("Hello")
    resonse.set_cookie('treehouse', 'my cookie value string')
    return response

Never mind - i got it - there was a typo - instead of response i have written resonse

1 Answer

Never mind - i got it - there was a typo - instead of response i have written resonse