code: function _buildAppRequestParams(params) {
    params = params || {};
  
    var basePath = config.addURIParams(constants.APP_API_PATH, params);
  
    var fullPath = basePath + params.resourcePath;
  
    var mbaasUrl = url.parse(params.url);
  
    mbaasUrl.pathname = fullPath;
  
    var headers = {
      'x-fh-env-access-key': params.accessKey,
      'x-fh-auth-app': params.appApiKey
    };
  
    return {
      url: mbaasUrl.format(mbaasUrl),
      method: params.method,
      headers: headers,
      fileRequest: params.fileRequest,
      fileUploadRequest: params.fileUploadRequest,
      data: params.data,
      paginate: params.paginate
    };
  }
docs: Building Request Params For An App Request To An Mbaas
  @param params
  @returns {{url: string, body: *, method: (method|*|string), json: boolean, headers: {fh-app-env-access-key: *}}}
  @private