Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Flask Basics Character Builder Cookies

Luis S
Luis S
5,160 Points

How would you get all of the key & value pairs from the form? I am pretty sure is request.form.items()

why is it not accepting this as the correct answer?

Some of the questions are stated in a way that make no sense, for example json.dumps creates a string? of a dict? the way I understand it is json.dumps encodes and json.loads decodes . A string to me is "this is a string" a dict{ 'field1':'first field', 'field2':'second field'} which basically is json format.

1 Answer

Luis S
Luis S
5,160 Points

Thanks Keneth, it just wasn't working for me before, now it works...