function addToGoal(amount) {
		var myJSONObject = {"amount": amount};
		request({
				url: 'http://localhost:9090/simple-goals/goal',
				method: "POST",
				json: true,
				body: myJSONObject
		}, function (error, response, body){
				console.log("Pushed to goal");
		});
	}
// simple-goals Rest API request to add value to goal
simple-goals Rest API request to add value to goal
simple - goals Rest API request to add value to goal
function addToGoal(amount) {
		var myJSONObject = {"amount": amount};
		request({
				url: 'http://localhost:9090/simple-goals/goal',
				method: "POST",
				json: true,
				body: myJSONObject
		}, function (error, response, body){
				console.log("Pushed to goal");
		});
	}
function addToGoal ( amount ) { var myJSONObject = { "amount" : amount } ; request ( { url : 'http://localhost:9090/simple-goals/goal' , method : "POST" , json : true , body : myJSONObject } , function ( error , response , body ) { console . log ( "Pushed to goal" ) ; } ) ; }
simple-goals Rest API request to add value to goal
simple - goals Rest API request to add value to goal