We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39a6d9f commit c00a3c5Copy full SHA for c00a3c5
README.md
@@ -30,9 +30,11 @@ JDK 7 及以上
30
```Java
31
import com.qiniu.storage.UploadManager;
32
import com.qiniu.util.Auth;
33
+import com.qiniu.storage.Configuration;
34
import com.qiniu.http.Response;
35
...
- UploadManager uploadManager = new UploadManager()
36
+ Configuration cfg = new Configuration();
37
+ UploadManager uploadManager = new UploadManager(cfg);
38
Auth auth = Auth.create(accessKey, secretKey);
39
String token = auth.uploadToken(bucketName);
40
Response r = upManager.put("hello world".getBytes(), "yourkey", token);
0 commit comments