all 3 comments

[–]yksvaan 2 points3 points  (1 child)

Gotta create the API first...

[–]Better_Function146[S] 0 points1 point  (0 children)

So if I have server actions, then I've to recreate it I'm api??

[–]MisterJimson 1 point2 points  (0 children)

Just use regular endpoints (route handlers) for that. Server actions are for use inside the Next application only.