nl_tokens: QUERY // FUNCTION : query ( data options clbk ) Queries an endpoint .
pl_tokens: function query ( <mask> , options , clbk ) { var opts ; // Extract request options: opts = getOpts ( options ) ; // Set the query endpoint: opts . path = getPath ( options ) ; // Get the request data: data = getData ( data ) ; opts . headers [ 'Content-Length' ] = data . length ; // Make the request: request ( opts , data , done ) ; /**
  	* FUNCTION: done( error, response, data )
  	*	Callback invoked after completing request.
  	*
  	* @private
  	* @param {Error|Null} error - error object
  	* @param {Object} response - HTTP response object
  	* @param {Object} data - response data
  	* @returns {Void}
  	*/ function done ( error , response , data ) { if ( error ) { return clbk ( error ) ; } debug ( 'Request successfully completed.' ) ; clbk ( null , data ) ; } // end FUNCTION done() }