Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

registrar ruta tipo post

kevinl17371805
Level 2
Level 2

hello a new consumtal I am trying to register a post method slingservlet but when I use it with the ajax I get the error 500 if I could collaborate another way to register it this is the route that I gave thanks for the help

@SlingServlet(paths = {"/bind/gamerstore/values/template"}, methods = {"POST"})

1 Accepted Solution
smacdonald2008
Correct answer by
Level 10
Level 10

Make sure the OISGi bundle that defines the Servlet is in Active State.

View solution in original post

3 Replies
Arun_Patidar
Community Advisor
Community Advisor

Hi,

Can you post your ajax call code and Sling servlet code as well.

500 means there is an issue with your sling servlet code.

何塞
Level 4
Level 4

Puedes postear el error.log para ver el stacktrace y ver por que falla.

smacdonald2008
Correct answer by
Level 10
Level 10

Make sure the OISGi bundle that defines the Servlet is in Active State.

View solution in original post