Skip to content

Commit

Permalink
Removed URL encoding of request body to fix issue #27
Browse files Browse the repository at this point in the history
  • Loading branch information
gomfunkel committed May 20, 2013
1 parent dc25ec9 commit 69e18d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mailchimp/MandrillAPI_v1_0.js
Expand Up @@ -56,7 +56,7 @@ MandrillAPI_v1_0.prototype.execute = function (method, availableParams, givenPar
'Content-Type': 'application/x-www-form-urlencoded',
'User-Agent' : this.userAgent+'node-mailchimp/'+this.packageInfo['version']
},
body : encodeURIComponent(JSON.stringify(finalParams))
body : JSON.stringify(finalParams)
}, function (error, response, body) {
var parsedResponse;
if (error) {
Expand Down

0 comments on commit 69e18d9

Please sign in to comment.