code: function fetchData(url, options) {
      let {method = 'GET'} = options || {};
      method = method.toUpperCase();
  
      return httpApi.request(Object.assign({url}, options, {method}));
  }
docs: Fetch data by the given url and options
  
  @param {string} url the url to fetch
  @param {Object=} options the fetch options
  @return {Promise}