CANVAS - Impossible d'envoyer des posts API

I’m trying to send API posts to node-red but it’s not working.
Here’s a screenshot of the console.

Node-red is hosted on the same machine, so instinctively I put “localhost” (but I also tried with and 192.168.1.XX).
In the node-red configuration file, I’ve enabled this option:

    httpNodeCors: {
        origin: "*",
        methods: "GET,PUT,POST,DELETE"

But all this doesn’t work.

I have a node-red running on another local machine and was able to successfully HTTP post to the node-red with grafana hosted.

Thanks in advance for your help.

Please, up