Comparing version 0.3.3 to 0.3.4
@@ -11,3 +11,3 @@ /* | ||
path = require('path'), | ||
qs = require('querystring'), | ||
qs = require('qs'), | ||
request = require('request'), | ||
@@ -422,5 +422,8 @@ vows = require('vows'); | ||
} | ||
else { | ||
else if (this.outgoing.headers['Content-Type'] == 'application/json') { | ||
outgoing.body = JSON.stringify(data); | ||
} | ||
else { | ||
outgoing.body = data; | ||
} | ||
} | ||
@@ -427,0 +430,0 @@ |
{ | ||
"name": "api-easy", | ||
"description": "Fluent (i.e. chainable) syntax for generating vows tests against RESTful APIs.", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"author": "Nodejitsu Inc. <info@nodejitsu.com>", | ||
@@ -17,3 +17,4 @@ "contributors": [ | ||
"request": "2.x.x", | ||
"vows": "0.6.x" | ||
"vows": "0.6.x", | ||
"qs": "0.4.x" | ||
}, | ||
@@ -20,0 +21,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
124538
1200
4