function getResult(callback, json) {
    
    var input = json.input;
    if(input.city){
        //Put your action here
        var city = input.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(info.results[0].geometry.location); 
            }else{
                callback("the request failed");
            }
          });
          
    }else{
            
        callback("parameters are missing");
    }
    
}

exports.getResult = getResult;

@@ -38,35 +38,96 @@
     
-%0A    var input = json.input
+ console.log(%22json%22, json);%0A    var input = json.input;%0A     console.log(%22input%22, input)
 ;%0A  

Update api_1_call_1.js