Ktorfit icon indicating copy to clipboard operation
Ktorfit copied to clipboard

PUT requires a url as parameter even though @Url is specified

Open DanielNovak opened this issue 1 year ago • 0 comments

The following code doesn't compile because PUT throws an error that @Url must be set in case no URL is forwarded into PUT directly - even though the @Url is specified:

    @PUT
    fun test(
        @Url url: String,
    ): Unit

It seems @POST has same problem. @GET works correctly.

DanielNovak avatar Aug 02 '22 09:08 DanielNovak