Finally, I did this way, not sure if it is best practice.@SlingServlet(paths={"/myService"}, extensions = { "json" },methods = "GET", metatype=true)To access this service, http://localhost:4502/myService.json/home or http://localhost:4502/myService.json/faq, home and faq is the suffix as an input p...