Hello!
I’m evaluating Webix, and find it a, awesome library, but I would like to set a default base URL for my ajax calls, something like we can do on Axios.
Example on Axios:
axios.defaults.baseURL = ‘http://httpbin.org’;
and after it, axios.get(’/get’) will result in ‘GET - http://httpbin.org/get’
I have tried to use the global onBeforeAjax Event, and for setting a header it works, but I couldn’t find a way to concat something in the url at that context.
If it’s just for saving forms or for very particular use cases, I’d just create a Adapter, but I need it to load all combos and data collection in the app, it’ll be a pain to manually loading each one, or, having to concat manually in each request.
Thanks!