Callback Event Error: Unknown Protocol
Posted: Wed Oct 06, 2021 10:28 am
Hi there,
I have setup the following listener on my nodejs server:
Testing this using a chrome extension, it is receiving POST messages just fine.
Poker Mavens however, is throwing the error: "Unknown Protocol" in the log viewer when sending a callback, and i'm not receiving anything on the server.
Any help appreciated to solve this.
Thanks.
I have setup the following listener on my nodejs server:
Code: Select all
const app = express();
// Parse URL-encoded bodies (as sent by HTML forms)
app.use(express.urlencoded({ extended: false }));
// Parse JSON bodies (as sent by API clients)
app.use(express.json());
// Access the parse results as request.body
app.post('/', function(request, response){
console.log(request);
console.log(request.body);
});
// Tell our app to listen on port 8090
app.listen(8090, function (err) {
if (err) {
throw err
}
logger.log.info('POKER :: Listening on port 8090.');
});
Poker Mavens however, is throwing the error: "Unknown Protocol" in the log viewer when sending a callback, and i'm not receiving anything on the server.
Any help appreciated to solve this.
Thanks.