23 Feb 2022 05:01 AM - last edited on 24 Feb 2022 01:53 AM by MaciejNeumann
We have an URL like /application-context-root/text1/text2/text3/text4 which is served by a service.
We would like to extract the chain /application-context-root/ in order to create an automatic tag rule using this chain.
We've created a request attribute which extract the info but automatic tag rules don´t allow using a request attribute to tag something.
We have also launched Detection full web request API called
curl -X GET "https://mytenant/api/config/v1/service/detectionRules/FULL_WEB_REQUEST" -H "accept: application/json; charset=utf-8" -H "Authorization: Api-Token mytoken"
but we receive the following error: TypeError: NetworkError when attempting to fetch resource.
Is there any way to get the context root in order to create an automatic rule to tag it?
Thanks in advance.
Solved! Go to Solution.
If I understand correctly, you can try something like this, as the context root is metadata we detect OOTB: