code: function () {
          var buildRequest = buildJSONRequest.bind(this);
  
          if(arguments.length == 2) {
              // Empty Body
              var cbSuccess = callbackWrap.bind(this, arguments[0]);
              var cbFailure = callbackWrap.bind(this, arguments[1]);
  
              cordova.exec(cbSuccess, cbFailure, "BMSRequest", "send", [buildRequest()]);
          } else if(arguments.length >= 3) {
              // Non-empty Body 
              if(typeof arguments[0] == "string" || typeof arguments[0] == "object") {
                  var cbSuccess = callbackWrap.bind(this, arguments[1]);
                  var cbFailure = callbackWrap.bind(this, arguments[2]);
                  cordova.exec(cbSuccess, cbFailure, "BMSRequest", "send", [buildRequest(arguments[0])]);
              }
          }
      }
docs: Send this resource request asynchronously.
  @param body (Optional) The body: Either a string or an object
  @param success The success callback that was supplied
  @param failure The failure callback that was supplied