Htaccess File

ChyroBroadcast/ftp-adm-api/master/.htaccess

GET, POST, PUT, X-Requested-With
# CORS Headers (add this)
<ifModule mod_headers.c>
    Header always set Access-Control-Allow-Origin: "*"
    Header always set Access-Control-Allow-Methods "POST, GET, PUT, DELETE, OPTIONS"
    Header always set Access-Control-Allow-Headers "X-Requested-With, content-type, Authorization"
    Header always set Access-Control-Allow-Credentials "true"
</ifModule>
Exit mobile version