When I am trying to access any page through the curl command i.e curl http://IP/en/home.html from the author server, I am getting the below error:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 500 </title>
</head>
<body>
<h2>HTTP ERROR: 500</h2>
<p>Problem accessing /en/home.html (path of page ). Reason:
<pre> java.lang.NullPointerException</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
</body>
</html>
The IP whitelisting has been done and I able to telnet as well.
Any suggestions to debug on this issue.
Views
Replies
Total Likes
Could you please try to elaborate more about your requirement ?
Do you want to read html response ? Do you want perform any other action like activate, copy , replicate etc .
Hope this could help you CQ5 curl commands · GitHub
/Brijesh Yadav
Views
Replies
Total Likes
Hi Brijesh,
I need to get the html pf the page as a response.
Views
Replies
Total Likes
Another option you can do is write a sling servlet that reads the node at a specific resource and returns HTML as return value.
Views
Replies
Total Likes
Views
Likes
Replies