Created
February 13, 2013 23:02
-
-
Save aamedina/4949203 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
request.post({ | |
uri: 'https://api.datasift.com/validate', | |
headers: headers, | |
json: JSON.stringify(json)}, function(err, res, body) { console.log(body) }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
request.post({url: 'https://api.datasift.com/validate', headers: headers, body: "csdl=willfailvalidation" }, function(err, res, body) { console.log(body) }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment