Saturday, October 21, 2017

Test AEM Servlet using Postman - 403 Forbidden error

Issue: Created AEM servlet and testing post request from Postman returns 403 - Forbidden Error.


2. Search for 'Apache Sling Referrer Filter'
3. Remove POST method from the filter. 
4. Select “Allow Empty” and 'Save'
5. Again search for 'Adobe Granite CSRF Filter' 
6. Add your servlet path in 'Excluded Paths' list.

Now you can call your POST method anywhere.

Hope it works..

1 comment:

  1. Hey, Wow all the posts are very informative for the people who visit this site. Good work! We also have a Website. Please feel free to visit our site. Thank you for sharing. Well written article Thank You for Sharing with Us pmp training in chennai | pmp training class in chennai | pmp training near me | pmp training courses online | pmp training fee | project management training certification