Fatal error: Uncaught Exception: Error: call to URL http://api.johnrichard.com.br/Acesso/autorizarAcesso failed with status 301, response <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://api.johnrichard.com.br/Acesso/autorizarAcesso">here</a>.</p>
</body></html>
, curl_error , curl_errno 0
in /var/www/html/homologacao/application/core/controller.php:130
Stack trace:
#0 /var/www/html/homologacao/application/core/controller.php(27): Controller->getAccessToken()
#1 /var/www/html/homologacao/application/core/application.php(91): Controller->__construct()
#2 /var/www/html/homologacao/public/index.php(35): Application->__construct()
#3 {main}
thrown in /var/www/html/homologacao/application/core/controller.php on line 130