post(bucket, body, options, doneCallback, failCallback) {
    if (options instanceof Function) {
      failCallback = doneCallback;
      doneCallback = options;
      options = {};
    }

    options = options || {};

    var msg = new message.PostBaqendModule(bucket)
      .entity(body, options.requestType)
      .mimeType(options.mimeType || null)
      .responseType(options.responseType || null);

    return this._send(msg, doneCallback, failCallback);
  }
/**
   * Calls the module, which is identified by the given bucket.
   *
   * @param {string} bucket Name of the module
   * @param body {string|Blob|File|ArrayBuffer|FormData|json=} The POST-body data to send
   * @param {Object=} options Additional request options
   * @param {string=} options.requestType A optional type hint used to correctly interpret the provided data, can be one of
   *    arraybuffer, blob, json, text, base64, data-url, form
   * @param {string=} options.mimeType The mimType of the body. Defaults to the mimeType of the provided data if
   * it is a file object, blob or data-url
   * @param {string=} options.responseType The type used to provide the response data, defaults to text oder json depends
   *    on the received data, can be one of arraybuffer, blob, json, text, base64, data-url
   * @param {Function=} doneCallback
   * @param {Function=} failCallback
   * @returns {Promise<Object>}
   */
Calls the module, which is identified by the given bucket.
Calls the module which is identified by the given bucket .
post(bucket, body, options, doneCallback, failCallback) {
    if (options instanceof Function) {
      failCallback = doneCallback;
      doneCallback = options;
      options = {};
    }
    options = options || {};
    var msg = new message.PostBaqendModule(bucket)
      .entity(body, options.requestType)
      .mimeType(options.mimeType || null)
      .responseType(options.responseType || null);
    return this._send(msg, doneCallback, failCallback);
  }
post ( bucket , body , options , doneCallback , failCallback ) { if ( options instanceof Function ) { failCallback = doneCallback ; doneCallback = options ; options = { } ; } options = options || { } ; var msg = new message . PostBaqendModule ( bucket ) . entity ( body , options . requestType ) . mimeType ( options . mimeType || null ) . responseType ( options . responseType || null ) ; return this . _send ( msg , doneCallback , failCallback ) ; }
Calls the module, which is identified by the given bucket.
Calls the module which is identified by the given bucket .