Best way to fetch one language through an API? #280
Unanswered
vincentcordel
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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 :)
Beta Was this translation helpful? Give feedback.
All reactions