Hi everybody, I'm new here in Node-Red. I have a problen with HTTP-RESPONSE.
See the logic in the node FUNCTION:
let a_consulta={payload: (msg.payload)};
flow.set('a_consulta',a_consulta)
let x=a_consulta
let string_WEB = {payload: x}
console.log(x + " " + typeof(x))
return x;
----------------//-----------------
If my code is wrong, pls talk to me, I don't know JS so much.
The error show is NO RESPONSE OBJECT in the HTTP RESPONSE.
Pls, help me, I search in many places, but I don't find something good.
I appreciate so much since now.
Set Headers node