Calling external API
Unanswered
Yacare Caiman posted this in #help-forum
Yacare CaimanOP
Hi, I'm currently developp an app and my backend is in Symfony, what'is the right way to call it with nextjs ?
2 Replies
Cinnamon Teal
For data fetching you can call your backend APIs directly inside server components using
fetch() and for data mutations you can call them inside server actions.Yacare CaimanOP
okay thanks !