I'm trying to upload an image using retrofit 2 to a PHP server, but I don't know how can I reach this/these parameters in PHP.
@Multipart
@POST("upload/TestImage")
Call<ResultObj> getImageOne(@Part("file\";file=\"image.png\"") RequestBody file);
@Multipart
@POST("upload/TestImage")
Call<ResultObj> uploadImage(@PartMap Map<String, RequestBody> params);