From cd2e1e43bd6d6e1cb7226c8210191e1b55cd0e6a Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Sat, 20 Sep 2025 19:49:27 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Add=20note=20about=20Cookies=20a?= =?UTF-8?q?nd=20JavaScript=20on=20`tutorial/cookie-params.md`=20(#13510)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: svlandeg --- docs/en/docs/tutorial/cookie-params.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/en/docs/tutorial/cookie-params.md b/docs/en/docs/tutorial/cookie-params.md index 7680f21f4..f44fd41bd 100644 --- a/docs/en/docs/tutorial/cookie-params.md +++ b/docs/en/docs/tutorial/cookie-params.md @@ -30,6 +30,16 @@ To declare cookies, you need to use `Cookie`, because otherwise the parameters w /// +/// info + +Have in mind that, as **browsers handle cookies** in special ways and behind the scenes, they **don't** easily allow **JavaScript** to touch them. + +If you go to the **API docs UI** at `/docs` you will be able to see the **documentation** for cookies for your *path operations*. + +But even if you **fill the data** and click "Execute", because the docs UI works with **JavaScript**, the cookies won't be sent, and you will see an **error** message as if you didn't write any values. + +/// + ## Recap { #recap } Declare cookies with `Cookie`, using the same common pattern as `Query` and `Path`.