Node-red is hosted on the same machine, so instinctively I put “localhost” (but I also tried with 127.0.0.1 and 192.168.1.XX).
In the node-red configuration file, I’ve enabled this option:
Hi Ayno! The reason why the request wasn’t working is due to a security check that ensures that API requests are not possible to Grafana itself which is checked here in the code.
This check is implemented by checking the request’s origin and comparing that to Grafana’s origin, which is why localhost in this case doesn’t work but providing node-red’s IP address does work