Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Incorrect Page Status code

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Your path is wrong, try with below command

 

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



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Your path is wrong, try with below command

 

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



Arun Patidar