Newbee question regarding "http request" with login parameters

#1

Hi new to this world, and have just discovred Node-Red - wow…

Have made some nodes where I use (http requests) to “monitor” a webpage - no problem there… and now I have a new project where I though that I could use same metode - dohh.

I have a URL that goes wrong - i looks like this.
This url does a autologin to a webpage, and it is this page I wont to “monitor” the content of.
[Removed by my]

Please excuse my language

  • Ivan
0 Likes

#2

Does the url work if you enter it in a browser?

0 Likes

#3

Yes - thats the the format for autologin

0 Likes

#4

So exactly what problem are you seeing when you use that in the http node?

0 Likes

#5

If that page is a web map as the URL suggests I wouldn’t expect a simple single http request would generate the page you would expect to see. Most web maps use lots of AJAX calls to build what you see.

0 Likes

#6

have made a test login so you can see the real stuff.
[Removed by me]

But when using this in Node-red it sends me to
[Removed by me]

Here is my sample so far.
[Removed by me]

0 Likes

#7

You should open that URL with your browser’s developer console open. Then you will see what is happening. For example, I can see that the server is using some cookies that you would need to deal with in Node-RED most likely. It also returns some 404 errors.

Finally, a warning. You are sending your login details in plain text over the Internet. So you should assume that every bad actor in the world now has them. Since it only takes one poorly configured proxy or cache to be compromised and then sucking data out.

I really hope the data being sent back is also not important.

There is really no excuse for this.

0 Likes

#8

I’m dropping this metode - and are going MsSql instead…
Thanks all for help

0 Likes