I want to check if a page returns the status code 401. Is this possible?
Here is my try, but it only returns 0.
$.ajax({ url: \"http://my-ip/tes
Test in WAMP SERVER apache2
abrir el httpd.conf y agregar esto:
Header set Access-Control-Allow-Origin "*"
enable the next module on apache headers_module restart all services
enable the next module on apache headers_module
restart all services