diff --git a/lib/restler.js b/lib/restler.js index 3d7945b..fdecdc1 100644 --- a/lib/restler.js +++ b/lib/restler.js @@ -493,6 +493,12 @@ mixin(Service.prototype, { json: function(method, path, data, options) { return json(this._url(path), data, this._withDefaults(options), method); }, + postJson: function(path, data, options) { + return postJson(this._url(path), data, this._withDefaults(options)); + }, + putJson: function(path, data, options) { + return putJson(this._url(path), data, this._withDefaults(options)); + }, del: function(path, options) { return del(this._url(path), this._withDefaults(options)); },