I have a url like so: group/wtbxqcum
This is a dynamic part: wtbxqcum
How to check if something exists after group/
?
I was able to do this if URL is like so: group?type=all
e.g.
if (authReq.url.indexOf('type=all') >= 0) {
//code
}
P.S.
My URL is like so: authReq.url = 'Prod/v1/group/wtbxqcum';