diff --git a/nodes/core/io/21-httpin.js b/nodes/core/io/21-httpin.js index 57c8f734a..76c10a7bf 100644 --- a/nodes/core/io/21-httpin.js +++ b/nodes/core/io/21-httpin.js @@ -177,6 +177,9 @@ module.exports = function(RED) { return; } this.url = n.url; + if (this.url[0] !== '/') { + this.url = '/'+this.url; + } this.method = n.method; this.upload = n.upload; this.swaggerDoc = n.swaggerDoc;