@KVBinding(Method.GET, "all_tags_list")
suspend fun tags(): List<String>
But it works only with functions without parameters
Copy code
@KVBinding(<http://Method.POST|Method.POST>, "slug_article")
suspend fun article(slug: String): Article
I tried something like this, but then I got status 500 when sending the POST method from Postman. What am I doing wrong?
r
Robert Jaros
06/12/2023, 7:50 PM
KVision fullstack interfaces use special JSON-RPC request format. Status 500 probably means your request doesn't have the correct format.
Robert Jaros
06/12/2023, 7:52 PM
The project is just a spring boot app, so it should be fairly easy to implement both google auth and swagger ui. You should follow the documentation or tutorials:
https://www.baeldung.com/spring-oauth-login-webflux
Haven't done that myself, so I can't help you with the details.
n
Nazar Pohonchuk
06/12/2023, 8:38 PM
Ahh, I can't do it, It's just errors and errors. I would be really grateful If you added Swagger UI or Google Auth to this project. But it sounds like too much to ask. Anyways, thank you for your quick responses.