Exposing path based sling servlet as Rest API to 3rd party system
hello experts,
From below discussion [1] it has come out that, for exposing a Rest API from AEM for a 3rd party system is to use Path based Sling Servlet.
Now here is some clarification if you can guide us?
- is it good practice to invoke - com.adobe.fd.output.api.OutputService/ com.adobe.fd.assembler.service.AssemblerService in a custom OSGi service and, then use this OSGi service in Sling Servlet's Get method?
- Or we can directly invoke OutputService/ AssemblerService in Sling Servlets's Post method?
Please share your opinions.
