Expand my Community achievements bar.

Introducing Adobe LLM Optimizer: Own your brand’s presence in AI-Powered search and discovery

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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

AEM LinksLinkedIn

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

AEM LinksLinkedIn