Hi everyone,
first post in this forum for me, so don't be too harsh
I had a flow running which sent me a picture of my webcam to a telegram chanel once a motion detector sensed motion. This was working fine until the webcam died and I had to replace it with a new model.
Now obviously the HTTP request node does not work anymore - I suspect it's due to the new camera requiring digest auth instead of basic?!
The new cam (Wansview W2) can be accessed via http://user:pass@192.168.178.xx/mjpeg/snap.cgi?chn=1
this works perfectly fine in a browser.
Trying to run this command via the HTTP request node fails, no matter if I provide user:pass within the url or via the basic auth boxes.
Trying to nail the issue down I tried it with curl:
curl http://user:pass@192.168.178.xx/mjpeg/snap.cgi?chn=1
results in a 401 unauthorized
curl http://user:pass@192.168.178.xx/mjpeg/snap.cgi?chn=1 --digest
works fine
Now the question is: How can I get this running in Node-Red?
Any help is apprecitated.
Thanks