无法解析符号addFormDataPart

时间:2017-11-17 05:36:33

标签: java okhttp

MultipartBody.Builder builder = new MultipartBody.Builder()
                        .setType(MultipartBody.FORM)
                        .addFormDataPart("title", "title");  
                builder.addFormDataPart("contact",  "9876543210"); 

我正在使用okhttp 3.9.0(' com.squareup.okhttp3:okhttp:3.9.0')

0 个答案:

没有答案