MacOs Ventura 13.6
Node-red 3.1.1
Node.js v18.12.1
RPI 2 model B
OS: Bullseye
TickTockDB v0.12.1 (replacing Influx)
In NR (running on the Mac) I have an exec
node that successfully stores data in the DB but I'm trying to convert it to use the http-request
node and keep having problems.
This is what is sent to the exec
node and it works:
{
"_msgid": "5dd3fbca304156f1",
"payload": "curl -v -POST 'http://192.168.1.192:6182/api/put' -d 'put weather.t 1703845893 11.1 location=Hill_Street_Basement'",
}
and this is what's sent to the http-request
node
{
"_msgid": "69f9c4717e986b70",
"url": "http://192.168.1.192:6182/api/put",
"post": " -d 'put weather.t 1603845050 95.7 location=Hill_Street_Basement'",
"payload": " -d 'put weather.t 1603845050 95.7 location=Hill_Street_Basement'"
}
which is configured like this:
Suggestions??
- Once I get this working I will be writing-up and posting my installation procedure and my flow accessing it.