The headless API is by default accessed like this: domainname.com/HeadlessApi/StartPage. If you have a site with more than one language, is it possible to set up url prefixes or how do you recommend working with more than one language/channel?
@anusha.ganegoda No, its from the Litium.AddOns.HeadlessAPI project. And that is just an example, the same is true for all endpoints. How is the Headless API meant to work with more than one language?
It is a starting point for you to build your own headless API website. The add-on is given in source code format. As you can see, you can modify the controller endpoint to accept the channel in the url.
Yes, ofcouse I can do that. I was just hoping this was something considered in the Headless project starting point. But good, then I know, I will try to figure out a clever solution for this.