October 1, 2020
Estimated Post Reading Time ~

Access AEM servlet in postman

When you make a POST request to your local AEM author instance, the request will be filtered and restricted by "Apache Sling Referrer Filter" and "Adobe Granite CSRF Filter". Incoming POST requests without the CSRF-Token in the header will be blocked by "Apache Sling Referrer Filter" and "Adobe Granite CSRF Filter".

Steps to configure:
  1. Navigate to ConfigMgr
  2. Search for 'Apache Sling Referrer Filter'
  3. Remove the POST method from the filter.
  4. Check the "Allow Empty" checkbox and click on Save.


Search for "Adobe Granite CSRF Filter"
Remove the POST method from the filter.
Click on Save.



Click here to download the postman and install it.

Open the Postman app and do the following steps.
  • A select method as POST
  • Enter AEM servlet URL.
  • Navigate to the "Authorization" tab and enter username and password.
  • Enter required "Headers"

Enter request in the body tab and hit the Send button.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.