Create a response with "set-cookie" in server/api

Did you try with useCookie('my-cookie') ?
Was this page helpful?