Authentication for AEM REST API | Community
Skip to main content
Sadaf_M
November 28, 2017
Question

Authentication for AEM REST API

  • November 28, 2017
  • 3 replies
  • 6171 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

kautuk_sahni
Community Manager
Community Manager
November 29, 2017

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
Sadaf_M
Sadaf_MAuthor
December 6, 2017

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

October 29, 2019

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