基本 HTTP 呼叫

從概念上講,整合第三方 REST API 可以像新增 http 包並呼叫外部端點一樣簡單。

meteor add http
HTTP.get('http://foo.net/api/bar/');