0

app.get("/firstname/{Kevin}", ctx -> { ctx.result("Kevin");

    });

    return app;
}

} i dont get my mistake

app.get("/firstname/{Kevin}", ctx -> { ctx.result("Kevin");

    });

    return app;
}

} i did this

  • Why are you doing `return app;` in each handler? Have you looked at the [documentation](https://javalin.io/documentation#endpoint-handlers)? Also, we don't know anything about `app` - how it is defined, for example. – andrewJames Apr 19 '23 at 23:33
  • You can provide a [mre]. – andrewJames Apr 19 '23 at 23:33

0 Answers0