Created
December 31, 2012 10:28
-
-
Save punund/4418816 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
indexB: -> | |
x = fs.readFileSync xmlInput | |
parser.parseString x, (error_xml, res_xml) -> | |
for product in res_xml?.products?.product[0..0] | |
r = request | |
uri: S.Found.uri + '/stock/one' | |
method: 'POST' | |
json: product | |
r.pipe process.stdout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment