Expand my Community achievements bar.

AEM not responding to cURL commands

Avatar

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!

2 Replies

Avatar

Administrator

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



Kautuk Sahni

Avatar

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.