Hi there
Have made a solution where I send an URL to my node-red
/my-testquery?value1=xxx&value2=yyy&value=zzz
How can I add a parameter eg. user=xyz so I can validate if the url is allowed to be processed?
Here is my testflow
[{"id":"b34dd1af.4cb23","type":"template","z":"a67755bf.66e9d8","name":"page","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<html>\n <head></head>\n <body>\n <h1>Got you call</h1>\n </body>\n</html>","x":650,"y":120,"wires":[["b828f6a6.47d708","710c1ca9.1a4cc4"]]},{"id":"1052941d.efad6c","type":"http in","z":"a67755bf.66e9d8","name":"","url":"/my-testquery","method":"get","upload":false,"swaggerDoc":"","x":490,"y":120,"wires":[["b34dd1af.4cb23"]]},{"id":"b828f6a6.47d708","type":"http response","z":"a67755bf.66e9d8","name":"","statusCode":"","headers":{},"x":810,"y":120,"wires":[]},{"id":"710c1ca9.1a4cc4","type":"debug","z":"a67755bf.66e9d8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"req.query","targetType":"msg","statusVal":"","statusType":"auto","x":840,"y":180,"wires":[]}]
And graficaly