Send Image File Via Retrofit From Android To Spring
I am trying to upload Image via Retrofit to S3 via Spring. So, it's basically 2 tasks. Pass Image to Spring API From Spring API upload it to S3 Server. I know how to upload the I
you are sending your information using multipart/form-data so try to use
@ModelAttribute
instead of
@RequestBody
the method signature will be
publicStringUploadImage(@ModelAttribute CropImageRequest cropImageRequest,HttpServletRequest request)
You may like these posts
Post a Comment for "Send Image File Via Retrofit From Android To Spring"