I have a URL which looks like http://www.example.com/idf34he8sf/9iad2hf7usnf
. I want to get the params idf34he8sf
and 9iad2hf7usnf
I have used below code
In angular
this.route.paramMap.subscribe(params => {
this.organizationId = params.get("organizationId");
this.embedId= params.get("embedId");
}
In Node
req.params
and
req.originalUrl
I want to get the params idf34he8sf
and 9iad2hf7usnf