Simple 'http in' flow fails?
I am trying to setup a very simple rest API in NR. Using the following example...
https://cookbook.nodered.org/http/create-an-http-endpoint
And when I do the following via curl in an SSH session on the node-red host...
# curl http://localhost:1880/hello
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /hello</pre>
</body>
</html>
I have tried using the actual ip address versus localhost, etc. Via a browser I simple cannot connect at all it seems. Neither https nor http URLs work.
What am I missing?