axios.create baseurl + apiPath example Example: axios configure base url axios.defaults.baseURL = '/api/';