Post request Retrofit with a file, string and Integer parameters. Keep getting bad request

前端 未结 0 937
庸人自扰
庸人自扰 2020-11-28 05:41

//Api Interface

@Multipart @POST("/api/v1/todos/") suspend fun postNewTodo(

@Header("Authorization") token: String, @Part file:Mult         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题