diff --git a/lib/cloudapi2.js b/lib/cloudapi2.js index ba06a39..702ee4d 100644 --- a/lib/cloudapi2.js +++ b/lib/cloudapi2.js @@ -597,7 +597,8 @@ CloudAPI.prototype.createMachine = function createMachine(options, callback) { // XXX how does options.networks array work here? this._request({ method: 'POST', - path: this._path(format('/%s/machines', this.user), options) + path: format('/%s/machines', this.user), + data: options }, function (err, req, res, body) { callback(err, body, res); });