Why POST call doesn't work within AEM? | Community
Skip to main content
Dinu_Arya
Level 6
Oct 16, 2019 2:56 PM UTC

Why POST call doesn't work within AEM?

@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 sahni​ edubey​ @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

Ankur_Khare
New Participant
Oct 23, 2019 11:29 AM UTC

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

Translate
Ankur_Khare
New Participant
Oct 16, 2019 3:44 PM UTC

Please refer below thread-

Exception while calling a Servlet

Translate
Level 3
Oct 16, 2019 3:22 PM UTC

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

Translate