Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
14 replies
Perfect

identical urls page vs api

Noob question -

If my site has a page at /posts, but my api also has a /posts route. Is it possible to differentiate? Should I prefix all my api routes like /api/posts for example?
Was this page helpful?