I’m doing device scene example using ngrok.
In Developer Workplace, I made an automation project and I have to verify app registration.
But when I send a request, the 404 Not Found error occurs.
How can I fix it?
Hey, @leehi9817
This is because there’s no root endpoint supporting POST HTTP Methods. Add the following block of code so you can log the entire Confirmation Lifecycle:
server.post('/', (req, res) => {
console.log(req.body);
});
1 Like