Hello,
I'm using API with bearer auth and http request node. I have a function to set the token and 2 inputs as JSON. Atm I'm using it like this:
This is the function:
msg.headers = {
Authorization: "Bearer "+ flow.get("Token")
};
return msg;
The way I did show above works, but it looks not the way it should be done.
Is there a way to combine messages with 2 topics? Can it be done with join node?
I need to have msg.payload and msg.headers for auth