in the whole interface & # xff0c recently; You need to use HttpWebRequest POST upload pictures & # xff0c;
need to pass a string & # xff0c; It & # xff1a;
string param & # 61; & # 34; AccidentNo & # 61; 1233 the & # 34; & # 43; & # 34; & SerialNo used to & # 61; 2555 the & # 34; ;//parameter
Byte [] bs & # 61; Encoding. The ASCII. GetBytes (param);
reqStream2. Write (bs, 0, bs. Length);//the data written to the current flow in the
this is no problem,
one array need to upload & # xff0c; Name for the files & # xff0c; Type of MultipartFile []
string strContent & # 61; & # 34; {\ & # 34; Files \ & # 34; : \ & # 34; 123 JPG \ & # 34; } & # 34;;
Byte [] buffer & # 61; Encoding. UTF8. GetBytes (strContent);
reqStream2. Write (buffer, 0, buffer Length);//the data written to the current flow in the
I write these & # xff0c; Submitted & # xff0c; You don't succeed & # xff0c; How to write good & # xff1f;