Expand my Community achievements bar.

Authentication for AEM REST API

Avatar

Level 1

Hello,

I need to call AEM REST APIs from my program (Create folder, Create Asset, Update Asset Binary etc). I am able to call from browser and get the result but when calling from my program or tool like SOAP UI, it gives authentication error. I know I have to pass security token but don't know how to get token. Any link to documentation will help. Thanks in advance.

3 Replies

Avatar

Administrator

We can call 3rd party REST from AEM:- REST API

Third party can call AEM :-

     VIA CURL

     REST :- Query Builder API Via REST you can get everything you want in AEM.

Reference Post:-

~kautuk



Kautuk Sahni

Avatar

Level 1

Thanks for response. How to pass security token to REST API?

Avatar

Level 1

I googled for a while and found that it is a basic auth, use your username/password and configure SoapUI or Postman or whatever client you are using with basic auth.

As curl it would be:

curl -u ${user}:${password} https://${domain}/api.json