How to send a http PUT with xml data

I couldn't get it working unfortunately. I think the node-red route may be the way to go despite a little extra work.

A lot of the issues I had in node-red revolved around authentication. Using a http request node, I had to drop the security level of the camera from Digest to Basic to get it to work at all. The Hikvision Ultimate node palette got around that with the ability to use Digest and pasting the xml code in directly. The post here NR http request details the problems. It took 10 hours on and off blindly clicking around to get it working!