Why POST call doesn't work within AEM? | Community
Skip to main content
Dinu_Arya
October 16, 2019

Why POST call doesn't work within AEM?

  • October 16, 2019
  • 3 replies
  • 2933 views

@For security reasons I would like to use POST call in passing the data from one AEM page to another AEM page. When I do a POST call, I'm getting the below error. What is the exact reason behind this and why it is not allowed to do POST call within AEM? Any other work around from front-end? Please let me know.

Status 500

Message org.apache.sling.api.resource.PersistenceException: Resource at '/content/myapp/en' is not modifiable.

kautuk sahniedubey​ @Jörg Hoh

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

October 16, 2019

You ARE allowed to post data in AEM. Typically posted data is sent to a Server (ie - a Servlet).

Ankur_Khare
Community Advisor
Community Advisor
October 16, 2019

Please refer below thread-

Exception while calling a Servlet

Ankur_Khare
Community Advisor
Community Advisor
October 23, 2019

is it resolved?if yes pls mark it as correct..