what's the high(est) level difference between using a Function or a Pages Function for my API middle

what's the high(est) level difference between using a Function or a Pages Function for my API middleware code?
Was this page helpful?