API routes vs Server Functions
I'm looking for some guidance on API routes vs Server Functions. When would I choose one vs the other?
Especially given the docs indicate that server functions will have configurable URLs in the future
I suspect validation may be the answer that seems built-in with functions but maybe not routes?