查看下这里https://github.com/qiniu/nodejs-sdk.v6/blob/master/qiniu/rs.js Client.prototype.fetch = function(url, bucket, key, onret) { var bucketUri = getEncodedEntryUri(bucket, key); var fetchUrl = util.urlsafeBase64Encode(url); var uri = 'http://iovip.qbox.me/fetch/' + fetchUrl + '/to/' + bucketUri; var digest = util.generateAccessToken(uri, null); rpc.postWithoutForm(uri, digest, onret);}
查看下这里https://github.com/qiniu/nodejs-sdk.v6/blob/master/qiniu/rs.js
Client.prototype.fetch = function(url, bucket, key, onret) {
var bucketUri = getEncodedEntryUri(bucket, key);
var fetchUrl = util.urlsafeBase64Encode(url);
var uri = 'http://iovip.qbox.me/fetch/' + fetchUrl + '/to/' + bucketUri;
var digest = util.generateAccessToken(uri, null);
rpc.postWithoutForm(uri, digest, onret);
}