Hi,
I ever saw someone will put the words ":fn" in the end of URL
may I know what does it means?
Hi,
I ever saw someone will put the words ":fn" in the end of URL
may I know what does it means?
It means fn
will be a path element that you can access in the msg. Useful for providing multiple paths. read the nodes built in help.
That's how you can unpack a variable from the url. So if the url is "/wakanda/123", then message will have a req.params
with { "fn": "123" }
.
thanks, now I get the concept of it
thanks for your help :))
understood, thanks for your help
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.