Best way to fetch one language through an API?
vincentcordel opened this issue · comments
Vincent Cordel commented
It says it all.
Once the models are setup, what would be the best way to fetch the API for the specified language?
Using a lang params in the query? (ie api/posts?lang=en)
Using a route for each language (ie api/en/posts, api/fr/posts)
Or something else that's even better :)