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

Not able to access AEM page using postman GET request

Avatar

Avatar
Validate 1
Level 1
pradeepd1320668
Level 1

Likes

2 likes

Total Posts

30 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 1
pradeepd1320668
Level 1

Likes

2 likes

Total Posts

30 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile
pradeepd1320668
Level 1

19-08-2020

Hi All,

 

I am trying to access AEM page using GET request via Postman tool. I have enabled anonymous access in 'Apache Sling Auhentication Service' still it is not working. Page is opening fine through browser.

Getting below error when accessing via Postman

19.08.2020 12:58:48.556 *INFO* [0:0:0:0:0:0:0:1 [1597822128552] GET /content/test/en/page.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource /content/test/en/page.html not found

 

Any help is much appreciated. 

 

Thanks,

Pradeep
 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
MVP
Nikhil-Kumar
MVP

Likes

243 likes

Total Posts

256 posts

Correct Reply

38 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
MVP
Nikhil-Kumar
MVP

Likes

243 likes

Total Posts

256 posts

Correct Reply

38 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile
Nikhil-Kumar
MVP

19-08-2020

@pradeepd1320668  - Please check for the Authentication of the AEM server in your Postman.
Refer the attachment below: 
auth.PNG

Answers (1)

Answers (1)

Avatar

Avatar
Give Back 3
Level 4
SundeepKatepally
Level 4

Likes

76 likes

Total Posts

76 posts

Correct Reply

21 solutions
Top badges earned
Give Back 3
Boost 10
Boost 25
Boost 50
Affirm 10
View profile

Avatar
Give Back 3
Level 4
SundeepKatepally
Level 4

Likes

76 likes

Total Posts

76 posts

Correct Reply

21 solutions
Top badges earned
Give Back 3
Boost 10
Boost 25
Boost 50
Affirm 10
View profile
SundeepKatepally
Level 4

19-08-2020

 

You need to do 2 things

Option1  -  Anonymous Access 

1) Allow anonymous user in the config "sling authentication service" config.

2) Give read permisions on the content to anonymous user.

 

Option2 - In Post man use Basic authentication. ,where you can give username and password.

 

Option1 is not recommended as you are almost giving the read access without login in author.