In this case you can write something like:

```js
/**
 * Basic request function
 *
 * @method request
 * @param method {String} request method ("POST", "GET" etc)
 * @param url {String} requested REST resource
 * @param body {Object}
 * @param headers {Object} hash containing the headers to send
 * @param callback {Function} callback executed after performing the request with the following parameters:
 * @param callback.error {mixed} false or CAPIError object if an error occured
 * @param callback.response {Response}
 */
```