Hi,When you make httpclient call to CQ servlet or any CQ path in java file it requires cookie object. Because in CQ current session info stored in Cookie.In java file you will not get the cookie object, so you are getting 401 unauthorized error.If you do the same in Sling GET servlet, you can get th...