Skip to content

Instantly share code, notes, and snippets.

@Raynos
Created August 16, 2011 13:01
Show Gist options
  • Save Raynos/1149017 to your computer and use it in GitHub Desktop.
Save Raynos/1149017 to your computer and use it in GitHub Desktop.
"create": function _create(data, cb) {
data._id = uuid();
request({
"uri": this._base_url + "/" + data._id,
"json": data,
"method": "PUT"
}, this._error(cb));
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment