diff --git a/lib/client.js b/lib/client.js index beea74a..5ab8d23 100644 --- a/lib/client.js +++ b/lib/client.js @@ -234,7 +234,7 @@ client.prototype.post = function(url, body, callback){ return callback("no oauth token, make sure to call client.connect and client.verify"); } - this.connection.post(url, this.oauthToken, this.oauthSecret, body, function(error, data, result){ + this.connection.post(url, this.oauthToken, this.oauthSecret, body, 'application/json', function(error, data, result){ if(error){ return callback(error); }