This file contains hidden or 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 fs = require('fs'); | |
var data = //Your data source(an array of items) | |
var request = require('request'); | |
var async = require('async'); | |
var j = request.jar(); | |
//If you need cookie auth | |
var cookie = request.cookie('cookieKey=cookieValue'); | |
var url = 'you url server, example: http://mydomain.com'; |