default base url axios code example Example: axios configure base url axios.defaults.baseURL = '/api/';