<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Passing Cookies with event.$fetch and useRequestFetch in Nuxt</title>
        <link>https://tube.grossholtz.net/videos/watch/9b4b7f8c-78d5-4b9f-b73e-bb4144d73cd7</link>
        <description>Ever wondered why cookies are not passed correctly to subrequests - e.g. during SSR or when using Nitro/H3? Then this video is for you. Together we have a look how to pass all the important information, including event context and headers to further calls, eliminating different behavior on server and client. #nuxtjs #nuxt #vue #webdevelopment Links and Resources: 🔗 10% Off for vuejs.de Conf with Code LICHTER https://conf.vuejs.de/tickets/?voucher=LICHTER 🔗 CONTRIBUTE HERE - https://github.com/nuxt/nuxt/issues/19815 🔗 Code https://github.com/manniL/alexander-lichter-nuxt-use-request-fetch 🔗 Sentry Blog Post https://www.lichter.io/articles/nuxt3-sentry-recipe/ 📺 Nuxt vs. Nitro https://www.youtube.com/watch?v=DkvgJa-X31k 📺 What is a BFF? https://www.youtube.com/watch?v=Zli-u9kxw0w 📺 @DejaVueFm #E026 - Vue 3.5 Analyzed https://share.transistor.fm/s/15838e9d Chaptermarks 00:00 Intro 00:15 Pass Cookies via API Request? 01:06 Demo App setup 02:05 Creating a "cookies" API endpoint 03:14 Sending cookies to a subrequest on the server side 05:41 Diving into Nitro and h3 internals for event.$fetch 08:53 Do I need to know about it when not using Nitro at all? 09:17 Calling the API from our Nuxt instance via useFetch 11:35 The same but with useAsyncData 11:49 Fixing the issue with useRequestFetch 14:17 Diving into the Nuxt source code 17:23 Wrapping up</description>
        <lastBuildDate>Sun, 05 Apr 2026 18:12:46 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>PeerTube - https://tube.grossholtz.net</generator>
        <image>
            <title>Passing Cookies with event.$fetch and useRequestFetch in Nuxt</title>
            <url>https://tube.grossholtz.net/client/assets/images/icons/icon-512x512.png</url>
            <link>https://tube.grossholtz.net/videos/watch/9b4b7f8c-78d5-4b9f-b73e-bb4144d73cd7</link>
        </image>
        <copyright>All rights reserved, unless otherwise specified in the terms specified at https://tube.grossholtz.net/about and potential licenses granted by each content's rightholder.</copyright>
        <atom:link href="https://tube.grossholtz.net/feeds/video-comments.xml?videoId=9b4b7f8c-78d5-4b9f-b73e-bb4144d73cd7" rel="self" type="application/rss+xml"/>
    </channel>
</rss>