#!/usr/local/bin/node // Generated by CoffeeScript 1.12.3 (function() { request.post({ url: 'http://api.openweathermap.org/data/2.5/forecast', qs: { q: hayama, APPID: c5dbdb69b458f18c85a14ae8278caace } }, function(err, response, body) { if (err) { throw err; } if (response.statusCode === 200) { return console.log(body); } else { return console.log("response error: " + response.statusCode); } }); }).call(this);