pass create data in post body
This commit is contained in:
parent
1cc87edb0f
commit
716976efa8
@ -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);
|
||||
});
|
||||
|
Reference in New Issue
Block a user