Access denied for Sling servlet ajax call via htl in Touch ui

sai111

29-01-2019

Hi Everyone,

I have a ajax call (type =post)to Sling servlet via htl for a component , In classic ui Ajax call is working fine,  when I do the same call from Touch ui console, its showing me Invalid url access denied for the servlet path, am I missing something over here , did anyone face this ,Can someone please help me. Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

sai111

29-01-2019

It's happening because of post method set up in this config com.adobe.granite.csrf.impl.CSRFFilter, removing post from this filter resolved this currently