Help for http request Node

I try to get this to work. I have a function node sending out a msg.url with a Get Request.

If I copy the url directly into the "Http Request Node" in the url field and inject a timestamp, the Get Request gets received by the RenderFarm. Everything works fine.

However, I want the url to be send by a "function node" and inside the "http request node" I want to receive this request in the url field. I tried several things but the most logical approach {{msg.payload.url}} doesn't seem to work. What am I missing here?

You should just leave the URL field blank and pass it in via msg.url.

I'm pretty sure it says in the Built-In help for the node?

Augh... OK now I know what went wrong.

At first I had the url empty but used the wrong payload format in the function node:
msg.payload = {"url":"http://" + ApiServer +":5000/renderfarm-StopProcess?arg1=True&arg2=True&arg3=True"};

Since that didn't work I tried several things like {{msg.payload.url}} in the url field. And at the same time switched to the correct payload:
msg.url = "http://" + ApiServer + ":5000/renderfarm-StopProcess?arg1=True&arg2=True&arg3=True"

Thanks Steve for waking me up :slight_smile:

2 Likes