Make a http request with ajax for basic authorization and cors – Apache
The config for my httpd server 111.111.111.111 (supposed). Config for cors and basic auth in /etc/httpd/conf/httpd.conf. <Directory "/var/www/html"> Options Indexes FollowSymLinks AllowOverride AuthConfig Require all granted Header always set Access-Control-Allow-Origin "*" Header always set Access-Control-Allow-Methods "POST, GET, PUT, DELETE, OPTIONS"…