Fetch Data Using Auth Token | Laravel 11 & Nuxt 3 Auth #06 | Urdu & Hindi

Опубликовано: 13 Май 2024
на канале: WebMentor
493
7

In this video, you will learn how to create an API to fetch data from the database using a token. We will employ the Bearer token in Header Authentication to transmit it to Laravel for authentication. Laravel utilizes the auth:sanctum middleware to verify if the user is authenticated. The request is authenticated using the token.

🧲 Timestamps:
00:00 - Introduction
00:32 - Fetch API Explained
00:52 - Create API Route
01:04 - Fetch Data in Nuxt 3
02:31 - Testing Data fetch
02:56 - Conclusion

🧲 Checkout our projects at GitHub:
https://github.com/webmentordev

🧲 VSCode:
● Font: Cascadia Code
● Theme: Obsidian Dark

🧲 Personal Tech Stack:
● Laravel, Livewire
● VueJs, NuxtJS
● MySQL, mongoDB, Pocketbase
● TailwindCSS
● LAMP Stack
● Linux, Virtualization, Proxmox

Please Ignore Negative Comments :)


Смотрите видео Fetch Data Using Auth Token | Laravel 11 & Nuxt 3 Auth #06 | Urdu & Hindi онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь WebMentor 13 Май 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 493 раз и оно понравилось 7 людям.