且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用multipart/form-data?

更新时间:2021-09-09 21:35:15

Retrofit在 FORM ENCODED AND MULTIPART

Retrofit has documentation on FORM ENCODED AND MULTIPART

要点是用@Multipart注释功能并将文件注释为@Part

The gist is to annotate the function with @Multipart and annotate your file as @Part