Sling GET servlet
Hi All,
Can someone share the example of How to write the REST API GET method in AEM where data can be shared in the form of JSON when any client make the rest api call .
thanks
Hi All,
Can someone share the example of How to write the REST API GET method in AEM where data can be shared in the form of JSON when any client make the rest api call .
thanks
For GET method make your servlet extend https://sling.apache.org/apidocs/sling5/org/apache/sling/api/servlets/SlingSafeMethodsServlet.html
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.