Curl Commands to Publish the AEM Pages

Avatar

Avatar
Establish
Level 4
kchaurasiya
Level 4

Likes

63 likes

Total Posts

57 posts

Correct reply

8 solutions
Top badges earned
Establish
View profile

Avatar
Establish
Level 4
kchaurasiya
Level 4

Likes

63 likes

Total Posts

57 posts

Correct reply

8 solutions
Top badges earned
Establish
View profile
kchaurasiya
Level 4

25-06-2021

Publish the single and multiple pages from author to publisher environment using the curl command.

 

 

To run the command Open the Command Prompt and paste the curl command and enterPlease see the snapshot below for the reference.

kchaurasiya_1-1624626098868.png

See the success output.

kchaurasiya_0-1624626038201.png

If you want to double check whether your page is published or not just navigate the page path and see the updated date and time in the cq:lastReplicated property. See the snapshots for the reference.

 

kchaurasiya_3-1624626544350.png

 

 

Thank You.