How to Use POST Response from Alfresco API in AEM6.4

Avatar

Avatar

sunitac70336244

Avatar

sunitac70336244

sunitac70336244

29-08-2019

Dear all, Thanks for your response now it is resolved.

View Entire Topic

Avatar

Avatar

sunitac70336244

Avatar

sunitac70336244

sunitac70336244

29-08-2019

Dear Gaurav,

 

Thanks a lot for your reply. Please see my comments in below.

 

I'm unable to understand why do you want to pass postman-token in this request.

 

My requirement is that I need all cm:title from Alfresco APIthrough post request in AEM and show in the AEM page through component.

 

In Postman I am posting request and getting response while passing below in body.

 

 

 

In Postman I am using authorization as Bearer Token.

 

I am not sure if I need to use that token "or" not in AEM. Also that token is expired in every 1 hr. I think we need that token in AEM , because the API is not public one . To get/post request for API we should use oauth token.

 

Please suggest.

 

Thanks a lot.