I have this flow that works nicely when I try to access the HTTP IN node via an external machine
curl "http://192.168.50.59:1880/callback_google_meet_url" -X POST -d "test"
However, if I try connect it locally it doesn't work:
curl "http://localhost:1880/callback_google_meet_url" -X POST -d "test"
or
curl "http://127.0.0.1:1880/callback_google_meet_url" -X POST -d "test"
I just got this error message:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot POST /calback_google_meet_url</pre>
</body>
</html>
Here's the flow that I'm using
[{"id":"6bf330e3.7c886","type":"tab","label":"Debug","disabled":false,"info":""},{"id":"f2ba6c03.8e3da","type":"http in","z":"6bf330e3.7c886","name":"Callback with the Google Meet URL","url":"callback_google_meet_url","method":"post","upload":false,"swaggerDoc":"","x":500,"y":340,"wires":[["bc26fc08.625b4","f7130f73.285d2"]]},{"id":"bc26fc08.625b4","type":"debug","z":"6bf330e3.7c886","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":850,"y":400,"wires":[]},{"id":"f7130f73.285d2","type":"http response","z":"6bf330e3.7c886","name":"","statusCode":"","headers":{},"x":830,"y":280,"wires":[]}]