Skip to content

Commit

Permalink
Update api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Nov 9, 2018
1 parent 653d01c commit 86c2673
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions csp/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ JavaScript SDK github 地址:[tencentyun/cos-js-sdk-v5](https://github.com/ten
var cos = new COS({
// 必选参数
getAuthorization: function (options, callback) {
$.get('http://example.com/server/auth.php', {
$.get('http://example.com/server/auth-json.php', {
method: options.Method,
pathname: '/' + options.Key,
path: '/' + options.Key,
}, function (Authorization) {
callback(Authorization);
});
Expand Down

0 comments on commit 86c2673

Please sign in to comment.