Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Flask Basics Character Builder Cookies

Luis S
Luis S
3,027 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
3,027 Points

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