kohana3如何调用webservice?
比如有一个天气服务:http://weather-china.appspot.com/city=beijing,在kohana3中怎么调用,取得返回值?高手有这方面的应用吗? http://code.google.com/p/weather-china/wiki/API这里面写的不是很清楚了么,使用 GET 请求,这和 webservice 或 restful 是没有关系的 多谢指教,是我没看明白啊 $response = Remote::get('http://weather-china.appspot.com/city=beijing');
var_dump(json_decode($response));
页:
[1]