src/fetchum.js
function callRequest(options, body, otherHeaders) {
  const { method, route, form, external, others } = options;
  const headers = Object.assign({}, options.headers, otherHeaders);
  if (external) {
    return request(form, method, route, body, headers, others);
  }
  return apiRequest(form, method, route, body, headers, others);
}
function callRequest(options, body, otherHeaders) {
  const { method, route, form, external, others } = options;
  const headers = Object.assign({}, options.headers, otherHeaders);
  if (external) {
    return request(form, method, route, body, headers, others);
  }
  return apiRequest(form, method, route, body, headers, others);
}
function callRequest ( options , body , otherHeaders ) { const { method , route , form , external , others } = options ; const headers = Object . assign ( { } , options . headers , otherHeaders ) ; if ( external ) { return request ( form , method , route , body , headers , others ) ; } return apiRequest ( form , method , route , body , headers , others ) ; }
Calls the request and prepends route with base
@param  {Object} options = {method, route, form, external, headers}
@param  {Object} body
@param  {Object} headers
Calls the request and prepends route with base @param { Object } options = { method route form external headers } @param { Object } body @param { Object } headers