Skip to content

Commit

Permalink
添加两个接口 demo
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu authored and carsonxu committed Apr 24, 2017
1 parent d907c4b commit d6b89ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo/PutObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var filename = '1mb.zip'
var filepath = path.resolve(__dirname, '1mb.zip');

var params = {
Bucket : 'coco', /* 必须 */
Bucket : 'test', /* 必须 */
Region : 'cn-south', //cn-south、cn-north、cn-east /* 必须 */
Key : '1mb.zip', /* 必须 */
Body : filepath, /* 必须 */
Expand Down
2 changes: 1 addition & 1 deletion demo/SliceUploadFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var COS = require('../sdk/advanced_api');
var filepath = path.resolve(__dirname, '40mb.zip');

var params = {
Bucket : 'coco', /* 必须 */
Bucket : 'test', /* 必须 */
Region : 'cn-south', //cn-south、cn-north、cn-east /* 必须 */
Key : '40mb.zip', /* 必须 */
FilePath : filepath, /* 必须 */
Expand Down

0 comments on commit d6b89ba

Please sign in to comment.