Is the callback method like {code...} CORRECT? Why did I submit the upload form and return the address upload.qiniu.com?
'Http: // songcharm.com/back', 'callbackbody' => 'name = $ (fname) & hash = $ (etag )'); $ token = $ auth-> uploadToken ($ bucket, null, 3600, $ opts);?>
Is the callback method correct? Why did I submit the upload form and return the address upload.qiniu.com?
Reply content:
'Http: // songcharm.com/back', 'callbackbody' => 'name = $ (fname) & hash = $ (etag )'); $ token = $ auth-> uploadToken ($ bucket, null, 3600, $ opts);?>
Is the callback method correct? Why did I submit the upload form and return the address upload.qiniu.com?
The callback method is correct.upload.qiniu.com
Address specific meaning, set the callback, qiniu will post to the http://songcharm.com/back this url, upload the original file name (fname) and the file hash (etag) value, you can check whether the server receives the callback of qiniu.