PHP: abilitare CORS nelle risposte HTTP

In PHP possiamo abilitare CORS nelle risposte HTTP.

Possiamo aggiungere questo header HTTP specifico nelle risposte:


header('Access-Control-Allow-Origin: *');

Torna su