Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AEM not responding to cURL commands

absolute2998726
Level 2
Level 2

Hello,

When executing cURL commands, I get absolutely no feedback from AEM. I've tried against multiple authors, publishers across several environments.

I have no issue pulling from other sites.

This used to work up until about 6 months ago an mysteriously stopped working. The issue exists on 2 PCs.

I have saved scripts that used to work at one time that no longer work. I'm 99.9% sure formatting is not an issue.

Is there a server setting, or a cuRL environment issue that may be the cause?

Thank you!

0 Replies
kautuk_sahni
Employee
Employee

Hi 

It should defiantly work. Can you please let us know what exactly error message coming up?

For reference please have a look at this community article:

Link:- https://hashimkhan.in/2015/05/27/aem-with-curl/

// AEM with cURL

~kautuk

Ashokkumar_TA
Level 2
Level 2

If you are able to view AEM pages in the browser, curl commands should also work. In case your AEM servers are behind a firewall, the firewall might block requests to AEM through curl and allow only browser requests. if you have access the AEM servers, try running curl directly on the server pointing to localhost url.