PS: there is really no need for a function node. The URL can be set up in the HTTP Req node as can the headers now too.