I have below requirement in my AEM-6.4
Extract plan id from cookie/session/http header (I want to write a dummy request for now For example I should get PlanId value as 197881 from cookie/session/http header)
I want to Extract plan id from my content path URL (My dummy content path is /content/VignetteContent , as shown below.)
If plan ID match (request vs content URL) then Continue Otherwise Reject.
Can anybody let me know how can I do this one in AEM-6.4?
I am new to query string. Can you please give me some example?