Ktorfit
Ktorfit copied to clipboard
PUT requires a url as parameter even though @Url is specified
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.