Incorrect Page Status code

Avatar

Avatar

iamjeeva

Avatar

iamjeeva

iamjeeva

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

status

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
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)