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.


Steps:

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..

21 comments:

  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

    ReplyDelete
  2. Thanks for updating the information
    Sanjary Kids is one of the best play school and preschool in Hyderabad,India. Give your child the best preschool experience by choosing the best playschool of Hyderabad in Abids. we provide programs like Play group,Nursery,Junior KG,Senior KG,and provides Teacher Training Program.
    ­play school in hyderabad

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Excellent topic and clearly understandable

    Pressure Vessel Design Course is one of the courses offered by Sanjary Academy in Hyderabad. We have offer professional Engineering Course like Piping Design Course,QA/QC Course,document Controller course,pressure Vessel Design Course,Welding Inspector Course, Quality Management Course, #Safety officer course.
    Welding Inspector Course
    Safety officer course
    Quality Management Course
    Quality Management Course in India

    ReplyDelete
  5. I feel extremely glad to have seen your site page and anticipate such a large number of additionally engaging occasions perusing here. Much obliged again for all the subtleties.


    https://360digitmg.com/course/artificial-intelligence-ai-and-deep-learning

    ReplyDelete
  6. Through this post, I realize that your great information in playing with all the pieces was exceptionally useful. I advise this is the primary spot where I discover issues I've been scanning for. You have a smart yet alluring method of composing. PMP

    ReplyDelete

  7. I like this post,And I figure that they making some incredible memories to scrutinize this post,they may take a good site to make an information,thanks for sharing it to me

    hrdf claimable training

    ReplyDelete
  8. Hello there to everyone, here everybody is sharing such information, so it's fussy to see this webpage, and I used to visit this blog day by day
    360DigiTMG data science course malaysia

    ReplyDelete
  9. On the off chance that you are being mindful to gain proficiency with a few methodologies, at that point you should peruse this article, I am sure you'll get a lot of extra from this article.
    pmp certification in malaysia

    ReplyDelete
  10. "I can set up my original thought from this post. It gives all around data. A commitment of gratefulness is all together for this essential data for all,

    "HRDF training

    ReplyDelete
  11. It was worthy experience to get some answers concerning hazardous complement. Valuable for everyone looking with respect to the issue.

    data science course in noida

    ReplyDelete
  12. Stunning! Such an astonishing and supportive post this is. I incredibly love it. It's so acceptable thus wonderful. I am simply astounded.
    data science course in noida

    ReplyDelete
  13. Hi there colleagues, good paragraph and good urging commented here, I am genuinely enjoying by these. BU Bhopal BA Final Year Result

    ReplyDelete
  14. This post is very informative and I have got very good information.
    403 Forbidden Error

    ReplyDelete
  15. I’ll bookmark your ba 3rd year time table allahabad university blog and take a look at again right here regularly.

    ReplyDelete
  16. Nice post! This is a very nice blog that I will definitively come back to more times this year! Thanks for informative post.
    cyber security certification malaysia

    ReplyDelete
  17. Excellent article and with lots of information. I really learned a lot here. Do share more like this
    Website Responsiveness
    Responsive Web Designs

    ReplyDelete