Currently, I am reviewing the documentation for vue-resource that outlines how to configure it: https://github.com/vuejs/vue-resource/blob/master/docs/config.md
The documentation specifies setting headers with a common authorization value:
Vue.http.headers.common['Authorization'] = 'Basic YXBpOnBhc3N3b3Jk';
While it seems like "Basic YXBpOnBhc3N3b3Jk" is just an example, what exactly does this value signify and what should be used instead?
Additionally, on the same page, there is mention of a "root" setting:
Vue.http.options.root = '/root';
I interpret this as the base URL for the web application. Nonetheless, why does vue-resource require me to provide this information? What purpose does it serve?