Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Why POST call doesn't work within AEM?

Avatar

Avatar
Validate 50
Level 4
Dinu_Arya
Level 4

Likes

38 likes

Total Posts

181 posts

Correct Reply

16 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Ignite 5
View profile

Avatar
Validate 50
Level 4
Dinu_Arya
Level 4

Likes

38 likes

Total Posts

181 posts

Correct Reply

16 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Ignite 5
View profile
Dinu_Arya
Level 4

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

Avatar

Avatar
Give Back 5
Level 2
scottm91515441
Level 2

Likes

5 likes

Total Posts

35 posts

Correct Reply

5 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile

Avatar
Give Back 5
Level 2
scottm91515441
Level 2

Likes

5 likes

Total Posts

35 posts

Correct Reply

5 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile
scottm91515441
Level 2

16-10-2019

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

Avatar

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

159 likes

Total Posts

370 posts

Correct Reply

58 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

159 likes

Total Posts

370 posts

Correct Reply

58 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile
Ankur_Khare
MVP

16-10-2019

Please refer below thread-

Exception while calling a Servlet

Avatar

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

159 likes

Total Posts

370 posts

Correct Reply

58 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 1
MVP
Ankur_Khare
MVP

Likes

159 likes

Total Posts

370 posts

Correct Reply

58 solutions
Top badges earned
Ignite 1
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile
Ankur_Khare
MVP

23-10-2019

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