function getResult(callback, parameters) {

    if(parameters.geo_city){
        //Put your action here
        var city = parameters.geo_city;
        var country = 'FR';
        require('request')('https://maps.googleapis.com/maps/api/geocode/json?key=AIzaSyDLGejsdWAYT5BKgqqvmRQUoWtT34OWfE8&address='+city+','+country, function (error, response, body) {
            if (!error && response.statusCode == 200) {
              var info = JSON.parse(body);
              callback(JSON.stringify(info.results[0].geometry.location)); 
            }else{
                callback({erro :"the request failed"});
            }
          });
          
    }else{
            
        callback({erro :"parameters are missing"});
    }
    
}

exports.getResult = getResult;

@@ -476,23 +476,8 @@
 ack(
-JSON.stringify(
 info
@@ -506,17 +506,16 @@
 ocation)
-)
 ; %0A     
@@ -553,23 +553,16 @@
 allback(
-%7Berro :
 %22the req
@@ -573,17 +573,16 @@
  failed%22
-%7D
 );%0A     
@@ -660,15 +660,8 @@
 ack(
-%7Berro :
 %22par
@@ -680,17 +680,16 @@
 missing%22
-%7D
 );%0A    %7D

Update Google_Geocoding_App.js