function addToTicker(username, amount) {
		var myJSONObject = {"name": username, "amount": amount};
		request({
				url: 'http://localhost:9090/simple-donation-ticker/ticker',
				method: "POST",
				json: true,
				body: myJSONObject
		}, function (error, response, body){
				console.log("Pushed to ticker");
		});
	}
// simple-donation-ticker Rest API request to add a message to ticker.
simple-donation-ticker Rest API request to add a message to ticker.
simple - donation - ticker Rest API request to add a message to ticker .
function addToTicker(username, amount) {
		var myJSONObject = {"name": username, "amount": amount};
		request({
				url: 'http://localhost:9090/simple-donation-ticker/ticker',
				method: "POST",
				json: true,
				body: myJSONObject
		}, function (error, response, body){
				console.log("Pushed to ticker");
		});
	}
function addToTicker ( username , amount ) { var myJSONObject = { "name" : username , "amount" : amount } ; request ( { url : 'http://localhost:9090/simple-donation-ticker/ticker' , method : "POST" , json : true , body : myJSONObject } , function ( error , response , body ) { console . log ( "Pushed to ticker" ) ; } ) ; }
simple-donation-ticker Rest API request to add a message to ticker.
simple - donation - ticker Rest API request to add a message to ticker .