2006-02-10から1日間の記事一覧
require 'net/http' require 'kconv' Net::HTTP.start('weather.livedoor.com'){|h| response,= h.get("/forecast/webservice/rest/v1?city=113&day=tomorrow") print Kconv.tosjis(response.body) } 久留米決め打ちでリクエストして、レスポンスを表示する…
require 'net/http' require 'kconv' Net::HTTP.start('weather.livedoor.com'){|h| response,= h.get("/forecast/webservice/rest/v1?city=113&day=tomorrow") print Kconv.tosjis(response.body) } 久留米決め打ちでリクエストして、レスポンスを表示する…