I keep getting an error message when trying to call the external api on localhost. I only get this error when I run the api on a different port without using a “proxy” as in the Quickstarts. I just needed to test out how to retrieve token from the API but keep getting the following error:
GET https://localhost:3001/api/external net::ERR_SSL_PROTOCOL_ERROR
So all I did was separate the server.js code and made it a stand-alone node API running on a different port. I understand the example runs the server in the React project. But why wouldn’t it work when separated? I don’t know if I’m missing something