bitmap转base64 POST请求URL太大
URL太大服务器提示
Submitted URI too large!
The length of the requested URL exceeds the capacity limit for this server. The request cannot be processed.
public void SubmitPictures(){
// TODO: 2020/2/11 0011 把图片存进数据库 地址太长 服务器不接受
//Constants.STUDENT_ID 正式用 测试用1
String studentId=1+"";
String headportraitm=mImg.replaceAll("\r|\n", "");
LogUtil.d(TAG,"============"+headportraitm);
Call<ModifyInfoData> task=mApi.modifyImg(studentId,headportraitm);
task.enqueue(new Callback<ModifyInfoData>() {
您的每一个用心回答,都会让这个世界变得更美好一些!