Incorrect Page Status code

Avatar

Avatar
Validate 1
Level 1
iamjeeva
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
iamjeeva
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
iamjeeva
Level 1

22-11-2020

The below page doesn't exist but gives 200 status code.

 

curl -u admin:admin -I https://author.dev.demo.adobecqms.net/editor.html/content/demo/author-test-page.html 

 

I found these solutions

  1. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-always-returns-200-sta... but I want something in curl.
  2. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-custom-error-404-502-p...

Please help in finding a curl solution for getting status code

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,444 likes

Total Posts

3,328 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,444 likes

Total Posts

3,328 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

22-11-2020

Your path is wrong, try with below command

 

curl -u admin:admin -I https://author.dev.demo.adobecqms.net/content/demo/author-test-page

Answers (0)