Expand my Community achievements bar.

Why POST call doesn't work within AEM?

Avatar

Level 7

@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

3 Replies

Avatar

Level 3

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

Avatar

Community Advisor

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