performance - How to POST multiple large image files via Volley Android -


i trying post around 10 images via volley converting base64 volley post images multiple time due retry policy. compressing files , tried changing timeout problem still exist. retrofit doing same.

why need/use base64?

are using rather post?

use multipart file upload large files, instance (with retrofit):

public interface fileuploadservice {      @multipart     @post("/upload")     void upload(@part("myfile") typedfile file,                 @part("description") string description,                 callback<string> cb); } 

Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -