AEM : REST Service | Community
Skip to main content
Murali89
Level 2
October 16, 2015
Solved

AEM : REST Service

  • October 16, 2015
  • 2 replies
  • 1425 views

Is there a way to implement and expose a rest service from AEM OSGI bundle so that other application like MULE or Hybris can consume it? 

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

AEM is based on Sling framework which is REST based, so definitely you can have a REST services as @scott mentioned

2 replies

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
October 16, 2015

AEM is based on Sling framework which is REST based, so definitely you can have a REST services as @scott mentioned

smacdonald2008
Level 10
October 16, 2015

AEM exposes Restful endpoints via servlets. You can use the default SlingPostServlet or write your own servlets. 

That is - you can write a Sling Servlet that accepts GETs or POSTs. Other clients that are able to perform REST requests can sent REST requests to AEM by performing GET or POSTs. Here is an example of a .NET app interacting with AEM using the default SLingPOstServlet:

https://helpx.adobe.com/experience-manager/using/using-net-client-application.html

Of course - you can write your own Sling Servlets - as talked about here.

http://scottsdigitalcommunity.blogspot.ca/2014/03/creating-java-swing-applications-that.html