diff --git a/src/nodes/network.js b/src/nodes/network.js index 340016bc..c847a5db 100755 --- a/src/nodes/network.js +++ b/src/nodes/network.js @@ -381,10 +381,14 @@ HTTPRequestNode.desc = "Fetch data through HTTP"; HTTPRequestNode.prototype.fetch = function() { - var url = this.properties.url; + var url = this.getInputData(1); + + if(!url) + url = this.properties.url; + if(!url) return; - + this.boxcolor = "#FF0"; var that = this; this._fetching = fetch(url)