Using Next.js Server Actions to Call External APIs

preview_player
Показать описание

In this video Developer Advocate Will Johnson walks us through how Server Actions can be helpful in various tasks, such as fetching data from external APIs, performing business logic, or even updating your database.

📘 *Corresponding Blog Posts:*

🔗 *Related Resources:*

If you enjoy this content and want to learn more about identity, security, and access management, subscribe to our channel! 

Have a topic you'd like to see covered? Let us know if the comments below 👀 

___________________________________________
Follow Us on Social 
Рекомендации по теме
Комментарии
Автор

I'm curious how server actions work behind the scene like when we create a route handler we actually make edge functions which are executed when triggered.

cmrad_
Автор

Quick question, how do I get the user Auth0 roles in Next.js? for example to protect a route to only "Administrator"

CardoPixelado
Автор

hello great video! I have a question, what can i do when i need to get resources? I see the way to submit data and how to handle it, but what do I have to do when I need to call a GET method to get resources?

agustinnunez
Автор

action on a button does not work...have to wrap it in a form and put the action on the form

nmdpa
Автор

What fonts are those editor that presented are using ?

nicer
Автор

hello great video. I have a question. How to implement refresh token in the server like when the access token expires and we get 401 error so we need to refresh the token and continue previous request.

prayushawale
Автор

This doesn't make any sense. Why would you want a server action to "submit a form" instead of just doing a post request. Use the platform.

grinskks
Автор

The same that Sveltekit has already for more than 1 year.

SilvestreVivo