0
I am using JWT to authenticate access. When I try a GET request from outside my system, it displays this message:
snippet of the code where I make the request (js):
[...]
var cep = this.soNumero(this.state.cep);
var cepUrl = 'https://viacep.com.br/ws/' + cep + '/json/';
axios.get(cepUrl).then(res => {
[...]
I use React and PHP with the Slim Framework
NOTE: If you want to test the link, just put any ZIP code in place of the variable in the code (Ex.:https://viacep.com.br/ws/37701140/json/)