Error: getaddrinfo ENOTFOUND

You need to follow the instructions below when posting a flow. Please re-post, but also make a complete working flow for us to test, with an inject node, the function node and the request node. Then we can easily test the flow.