Verbs in API kotlin filename #783
|
Hi. I'm trying out building a simple API using Kobweb ran in to the following. my package path is:
This works: But if I rename my file to "GetHello.kt", then "http://localhost:8080/api/gethello" does not work. I can organize my code by adding a package called "get" and simply put my "Hello.kt" there. Is there some guidelines with naming conversions I can follow, did not find anything here: https://kobweb.varabyte.com/docs/concepts/server/fullstack Mostly I'm curious why "GetHello.kt" is not working. |
Answered by
Hermansson
May 30, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

sorry to answer my own post, after digging a bit further I found below. Hopefully this is helpful to anyone stumbling on the same thing.