Access-Control-Allow-Originの設定を全URLからアクセスできるようにする

/var/www/html/.htaccess

#追加
Header set Access-Control-Allow-Origin "*"

もしくは

/etc/httpd/conf/httpd.conf

<Virtualhost *:80>
        ServerName test.net
        <Directory>
                # 追加
                Header set Access-Control-Allow-Origin "*"
                Header set Access-Control-Allow-Headers "Content-Type"
        </Directory>
</Virtualhost>