上传多图的字段名是img[],我不明白 到底怎么给服务器上传啊,
AsyncHttpClient 有三种形式的post提交数据方法,但是Header[]这个对象怎么获取到?(第一次以提交表单形式上传多图)
public static RequestHandle post(Context context, String url, Header[] headers, HttpEntity entity, String contentType, AsyncHttpResponseHandler responseHandler){
RequestHandle requestHandle = client.post(context, url, headers, entity, contentType, responseHandler);
return requestHandle;
}
public static RequestHandle post(Context context, String url, HttpEntity entity, String contentType, AsyncHttpResponseHandler responseHandler){
RequestHandle requestHandle = client.post(context, url, entity, contentType, responseHandler);
return requestHandle;
}
public static RequestHandle post(Context context, String url, Header[] headers, RequestParams params, String contentType, AsyncHttpResponseHandler responseHandler){
RequestHandle requestHandle = client.post(context,url,headers,params,contentType,responseHandler);
return requestHandle;
}