Exemplo n.º 1
0
 private Response post(String url, byte[] data, int offset, int size) throws QiniuException {
   return client.post(
       url,
       data,
       offset,
       size,
       new StringMap().put("Authorization", "UpToken " + upToken),
       Client.DefaultMime);
 }
Exemplo n.º 2
0
 private Response post(String url, byte[] data) throws QiniuException {
   return client.post(url, data, new StringMap().put("Authorization", "UpToken " + upToken));
 }