[NOTE:] Sorry I had to make http look like h.t.t.p.s because when I try to post the forum says (only 2 addresses allowed for new users in a post)
Hi, super new to node red. I was wondering if there was a way to get a response by entering a URL. For example if I type in my browser h.t.t.p.s://google.com?john Can I have my node red server listen to h.t.t.p.s://google.com and when it see ?john, that it would be able to do another action within my server?
I might be asking the question all wrong, but I have an NGINX web server, that hosts my website, and I have node red on the same server. When I use an HTTP in node with GET then I call the URL h.t.t.p://local_ip:1880/test?John I can see that in the dbug window, but when I put the public URL of my webserver in the HTTP in node such as h.t.t.p.s://mydomain.com and then I put in the browser h.t.t.p.s://mydomain.com?John I get nothing in the debug window.
I know I'm missing something but sorry still learning.
I just want to be able to enter in the URL h.t.t.p.s://mydomain.com?john and have my node red server listen to that URL and do an action based on john or bob or barry.
you have created a flow starting with an HTTP In node that you can access using your local ip address
you now want to access that same endpoint using your domain name, rather than local ip address.
To do that, you'll need to configure your NGINX server to forward traffic from your domain to your node-red instance.
We don't have a ready-to-roll example of how to do that, but I know others have shared their nginx configuration on the forum - so you could search for that.
I read it more like e wanted to get the query parameter bob or harry.
... admittedly, i didnt pay to much attention to the NGINX parts (as i often assume a new user is unsure what they really need & let them lead themselves to that by poking a few hints their way)
Hi, thanks for all your replies. Thats correct everything works locally without any problems, when I put in the HTTP in node URL "/test" and I enter 10.0.1.10:1880/test?bob I can see in the debug window ( msg.payload : Object { bob: "" }) so it works, but when I try https://mydomain.com/test?bob nothing happens.
Even though that NGINX web server is the same server node red is installed on.