华为云OBS的文件流上传怎么接受post文件上传
$resp = $obsClient->putObject([
'Bucket' => 'bucketname',
'Key' => $file_name,
'Body' => request()->file('file')
]);
报错
Obs\ObsException: Client error: PUT https://xxx.obs.cn-north-4.xxxcloud.com/images/20200803/a5b01264-3223-47c1-ae37-2540f29652fc.png
resulted in a 404 Not Found
response:NoSuchBucket
The specified bucket doe (truncated…)
推荐文章: