2015-09-28から1日間の記事一覧

Perl で Access-Control-Allow-Origin ヘッダを設定

Ajaxで外部URLにPOSTしようとしたらChromeで以下のエラー No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://domain' is therefore not allowed access. サーバ側で以下のようにヘッダを追加する必要がある $…