这是我的ActivitypublicclassMainActivityextendsAppCompatActivity{@OverrideprotectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);setContentView(R.layout.activity_main);Observablea=fileRetrofit().create(ApiStores.class).addCase2("123",1234);a.subscribeOn(Schedulers.io()).subscribe(newConsumer(){@Overridepublicvoidaccept(Objecto)throwsException{}});}publicstaticRetrofitmFileRetrofit;publicstaticRetrofitfileRetrofit(){if(mFileRetrofit==null){OkHttpClient.Builderbuilder=newOkHttpClient.Builder().addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
publicclassMainActivityextendsAppCompatActivity{@OverrideprotectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);setContentView(R.layout.activity_main);Observablea=fileRetrofit().create(ApiStores.class).addCase2("123",1234);a.subscribeOn(Schedulers.io()).subscribe(newConsumer(){@Overridepublicvoidaccept(Objecto)throwsException{}});}publicstaticRetrofitmFileRetrofit;publicstaticRetrofitfileRetrofit(){if(mFileRetrofit==null){OkHttpClient.Builderbuilder=newOkHttpClient.Builder().addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
@OverrideprotectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);setContentView(R.layout.activity_main);Observablea=fileRetrofit().create(ApiStores.class).addCase2("123",1234);a.subscribeOn(Schedulers.io()).subscribe(newConsumer(){@Overridepublicvoidaccept(Objecto)throwsException{}});}publicstaticRetrofitmFileRetrofit;publicstaticRetrofitfileRetrofit(){if(mFileRetrofit==null){OkHttpClient.Builderbuilder=newOkHttpClient.Builder().addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
protectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);setContentView(R.layout.activity_main);Observablea=fileRetrofit().create(ApiStores.class).addCase2("123",1234);a.subscribeOn(Schedulers.io()).subscribe(newConsumer(){@Overridepublicvoidaccept(Objecto)throwsException{}});}publicstaticRetrofitmFileRetrofit;publicstaticRetrofitfileRetrofit(){if(mFileRetrofit==null){OkHttpClient.Builderbuilder=newOkHttpClient.Builder().addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
super.onCreate(savedInstanceState);setContentView(R.layout.activity_main);Observablea=fileRetrofit().create(ApiStores.class).addCase2("123",1234);a.subscribeOn(Schedulers.io()).subscribe(newConsumer(){@Overridepublicvoidaccept(Objecto)throwsException{}});}publicstaticRetrofitmFileRetrofit;publicstaticRetrofitfileRetrofit(){if(mFileRetrofit==null){OkHttpClient.Builderbuilder=newOkHttpClient.Builder().addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
setContentView(R.layout.activity_main);Observablea=fileRetrofit().create(ApiStores.class).addCase2("123",1234);a.subscribeOn(Schedulers.io()).subscribe(newConsumer(){@Overridepublicvoidaccept(Objecto)throwsException{}});}publicstaticRetrofitmFileRetrofit;publicstaticRetrofitfileRetrofit(){if(mFileRetrofit==null){OkHttpClient.Builderbuilder=newOkHttpClient.Builder().addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
Observablea=fileRetrofit().create(ApiStores.class).addCase2("123",1234);a.subscribeOn(Schedulers.io()).subscribe(newConsumer(){@Overridepublicvoidaccept(Objecto)throwsException{}});}publicstaticRetrofitmFileRetrofit;publicstaticRetrofitfileRetrofit(){if(mFileRetrofit==null){OkHttpClient.Builderbuilder=newOkHttpClient.Builder().addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
a.subscribeOn(Schedulers.io()).subscribe(newConsumer(){@Overridepublicvoidaccept(Objecto)throwsException{}});}publicstaticRetrofitmFileRetrofit;publicstaticRetrofitfileRetrofit(){if(mFileRetrofit==null){OkHttpClient.Builderbuilder=newOkHttpClient.Builder().addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
@Overridepublicvoidaccept(Objecto)throwsException{}});}publicstaticRetrofitmFileRetrofit;publicstaticRetrofitfileRetrofit(){if(mFileRetrofit==null){OkHttpClient.Builderbuilder=newOkHttpClient.Builder().addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
publicvoidaccept(Objecto)throwsException{}});}publicstaticRetrofitmFileRetrofit;publicstaticRetrofitfileRetrofit(){if(mFileRetrofit==null){OkHttpClient.Builderbuilder=newOkHttpClient.Builder().addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
}});}publicstaticRetrofitmFileRetrofit;publicstaticRetrofitfileRetrofit(){if(mFileRetrofit==null){OkHttpClient.Builderbuilder=newOkHttpClient.Builder().addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
});}publicstaticRetrofitmFileRetrofit;publicstaticRetrofitfileRetrofit(){if(mFileRetrofit==null){OkHttpClient.Builderbuilder=newOkHttpClient.Builder().addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
}publicstaticRetrofitmFileRetrofit;publicstaticRetrofitfileRetrofit(){if(mFileRetrofit==null){OkHttpClient.Builderbuilder=newOkHttpClient.Builder().addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
publicstaticRetrofitmFileRetrofit;publicstaticRetrofitfileRetrofit(){if(mFileRetrofit==null){OkHttpClient.Builderbuilder=newOkHttpClient.Builder().addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
publicstaticRetrofitfileRetrofit(){if(mFileRetrofit==null){OkHttpClient.Builderbuilder=newOkHttpClient.Builder().addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
if(mFileRetrofit==null){OkHttpClient.Builderbuilder=newOkHttpClient.Builder().addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
OkHttpClient.Builderbuilder=newOkHttpClient.Builder().addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
.addInterceptor(newLoggingInterceptor());OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
OkHttpClientokHttpClient=builder.build();mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
mFileRetrofit=newRetrofit.Builder().baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
.baseUrl(ApiStores.BASE_URL).addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
.addConverterFactory(GsonConverterFactory.create()).addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
.addCallAdapterFactory(RxJava2CallAdapterFactory.create()).client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
.client(okHttpClient).build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
.build();}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
}returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
returnmFileRetrofit;}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
}}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
}这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
这是接口publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
publicinterfaceApiStores{//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
//baseUrlStringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
StringBASE_URL="http://123.12.123.123/";@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
@Multipart@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
@POST("qwe/asd")ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
ObservableaddCase2(@Part("tag")Stringtag,@Part("tag2")inttag2);}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
}一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
一下是LOG”requestSendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
Sendingrequesthttp://123.12.123.123/qwe/asdonnull--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
Content-Disposition:form-data;name="tag"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
Content-Type:application/json;charset=UTF-8Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
Content-Length:5"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
"123"--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
--369f49f5-597d-4aa2-9c5e-86eccda84c88Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
Content-Disposition:form-data;name="tag2"Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
Content-Transfer-Encoding:binaryContent-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
Content-Type:application/json;charset=UTF-8Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
Content-Length:41234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
1234--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
--369f49f5-597d-4aa2-9c5e-86eccda84c88--可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
可以看到content-length为5,即为“123”的长度,两边的双引号也被发送过去了
炎炎设计
凤凰求蛊
相关分类