-
|
Use case: one of my endpoints needs to access cookies ( What's the cleanest way to do this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hello @JUNIORCO , Take a look on the first example of Middlewares in the documentation: https://github.com/RobinTail/express-zod-api#middlewares Thus, you can make your endpoint handler aware of certain properties of For redirecting you should make a ResultHandler, which has direct access to By the way, there was another discussion on Cookies. Check this out: |
Beta Was this translation helpful? Give feedback.
-
|
First-class cookie support added in v28.1.0, @JUNIORCO |
Beta Was this translation helpful? Give feedback.
First-class cookie support added in v28.1.0, @JUNIORCO
https://ez.robintail.cz/v28.1.0/cookies