how to setup axios with base url code example Example: axios configure base url axios.defaults.baseURL = '/api/';