Highlighted

Why POST call doesn't work within AEM?

Avatar

Avatar

Dinu_Arya

Avatar

Dinu_Arya

Dinu_Arya

16-10-2019

@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

Replies

Highlighted

Avatar

Avatar

scottm91515441

Avatar

scottm91515441

scottm91515441

16-10-2019

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

Highlighted

Avatar

Avatar

Ankur_Khare

MVP

Avatar

Ankur_Khare

MVP

Ankur_Khare
MVP

16-10-2019

Please refer below thread-

Exception while calling a Servlet

Highlighted

Avatar

Avatar

Ankur_Khare

MVP

Avatar

Ankur_Khare

MVP

Ankur_Khare
MVP

23-10-2019

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