84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
图片用iPhone拍摄的,所以打给2m左右,后台接收的时候总是null,但是换成一个小点的图片,就可以正常接受。
If you are using tomcat, the default request parameters cannot exceed 2M. It is recommended to use multipart/form data to transfer files instead.
You can upload it to CDN first, and then return the URL on the CDN to the backend.
To add to the above, I have never used java, but PHP also has restrictions on the size of form uploads. The configuration file needs to be modified. I don’t know if java is available
If you are using tomcat, the default request parameters cannot exceed 2M. It is recommended to use multipart/form data to transfer files instead.
You can upload it to CDN first, and then return the URL on the CDN to the backend.
To add to the above, I have never used java, but PHP also has restrictions on the size of form uploads. The configuration file needs to be modified. I don’t know if java is available