Hey folks, came across something quite odd.
I'm trying to run a GET request using a function node followed by an http node.
I cant seem to manage to pass parameters to the request, seems like the request goes through as if there were no parameters set.
This is the content of the function node-
msg.headers = {
"x-access-token": msg.token,
"Content-Type": "application/json"
}
msg.method = "GET"
msg.url = "myendpointurl" ;
msg.payload = {
"from" : "1674378736000",
"to" : "1674897136000",
"debug": true
}
return msg;
Needless to say that using postman the request goes through including the parameters just fine. What am I doing wrong?
** I dont receive an error, the request goes through just fine, but it ignores the parameters set @ msg.payload
Thanks as always!