2
I am trying to make a request using angular connecting to the 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 that the API should set the header, However when testing with POSTMAN works normally. what may be happening?