Mastery Assessment: Requests & Responses

Complete this assessment with 100% score to master this chapter.

01In Flask, how do you access the incoming JSON payload from a POST request?

02Why should you set the `httponly=True` flag when returning a secure cookie via `make_response`?

03What happens if you try to access the `request` object outside of a valid Request Context (e.g., in a background thread without setup)?