Created
January 20, 2015 00:04
-
-
Save MrLeebo/0b4aa75ae2e2101000d7 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
var request = require('request'); | |
var xml2js = require('xml2js'); | |
request('http://example.com/my.xml', function(err, resp, body) { | |
xml2js.parseString(body, function(err, xml) { | |
// ... | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment