function sendRequest(method, queryRequest) {
    return $.ajax({
      headers : {"X-Xsrftoken": _vf_xsrf_token},
      url : method,
      type : 'POST',
      processData : false,
      data : JSON.stringify(queryRequest),
      contentType : 'application/json; charset=UTF-8',
      dataType : 'json'
    });
  }
/**
   * Dispatches a single ajax POST query to the viewfinder backend.
   *
   * @private
   * @param {Function} method The viewfinder RPC method to call.
   * @param {Object} queryRequest JSON object to send as the body of the request.
   * 
   * @returns {jQuery.Deferred} A jQuery deferred object which will resolve when the request
   *   has completed.
   */
Dispatches a single ajax POST query to the viewfinder backend.
@private
@param {Function} method The viewfinder RPC method to call.
@param {Object} queryRequest JSON object to send as the body of the request.

@returns {jQuery.Deferred} A jQuery deferred object which will resolve when the request
has completed.
Dispatches a single ajax POST query to the viewfinder backend . @private @param { Function } method The viewfinder RPC method to call . @param { Object } queryRequest JSON object to send as the body of the request . @returns { jQuery . Deferred } A jQuery deferred object which will resolve when the request has completed .
function sendRequest(method, queryRequest) {
    return $.ajax({
      headers : {"X-Xsrftoken": _vf_xsrf_token},
      url : method,
      type : 'POST',
      processData : false,
      data : JSON.stringify(queryRequest),
      contentType : 'application/json; charset=UTF-8',
      dataType : 'json'
    });
  }
function sendRequest ( method , queryRequest ) { return $ . ajax ( { headers : { "X-Xsrftoken" : _vf_xsrf_token } , url : method , type : 'POST' , processData : false , data : JSON . stringify ( queryRequest ) , contentType : 'application/json; charset=UTF-8' , dataType : 'json' } ) ; }
Dispatches a single ajax POST query to the viewfinder backend.
Dispatches a single ajax POST query to the viewfinder backend .