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 jmx = require("jmx"); | |
var clients = []; | |
clients.push( | |
jmx.createClient({ | |
host: "client1", | |
port: 12000 | |
}) | |
); |
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') | |
, _ = require('underscore'); | |
var apiToken = "XXXXXXXXXXXXXXX" | |
var requestOptions = { | |
url: "http://api.justyo.co/yoall/", | |
headers: { "Content-Type":"application/x-www-form-urlencoded" }, | |
body: "api_token=" + apiToken | |
} |