I am trying to make a request using angular connecting to REST API built in laravel.
XMLHttpRequest cannot load http://localhost:8000/rest/v1/entidades/licitacoes. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:9000' is therefore not allowed access. The response had HTTP status code 500.
I know the API should set the header, however when testo with POSTMAN it works normally. What could be happening?