Nazar Pohonchuk
06/12/2023, 7:45 PM@KVBinding(Method.GET, "all_tags_list")
suspend fun tags(): List<String>
But it works only with functions without parameters
@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?Robert Jaros
06/12/2023, 7:50 PMRobert Jaros
06/12/2023, 7:52 PMRobert Jaros
06/12/2023, 7:54 PMRobert Jaros
06/12/2023, 7:55 PMRobert Jaros
06/12/2023, 7:56 PMNazar Pohonchuk
06/12/2023, 8:38 PM