サーバー側関数で Meteor.http.call() を使用するアプリケーションがあります。
var ret = Meteor.http.call("GET", "https://www.quandl.com/api/v1/datasets/SF1/<...>");
これは、localhost meteor サーバーを使用して機能します。データをret
変数に戻します。
アプリケーションをデプロイしたruleoneinvesting.meteor.com
ところ、同じ呼び出しを使用して次のエラーが発生しました。
XMLHttpRequest cannot load https://ddp--4645-ruleoneinvesting.meteor.com/sockjs/info?cb=p7czcbhqun. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://ruleoneinvesting.meteor.com' is therefore not allowed access. The response had HTTP status code 503.
これは役に立ちませんでした。