你好,我通过官方给的例子做了个JS前端的例子,实现在了浏览器中上传图片到OSS里,并在官方的控制台中看到了上传后的图片,那么现在如果我想在代码里上传成功后,直接能在代 码里就能得到成功后的图片URL地址,这个要如何得到?有没有什么 回调阿?我刚接触懂的不多,帮我看看。谢谢!
POST请求后返回200状态码,但是看不到其它的从服务器返回的参数了。
General:
-
Request URL:
http://uuueeu.oss-cn-beijing.aliyuncs.com/
-
Request Method:
POST
-
Status Code:
200 OK
-
Remote Address:
59.110.190.32:80
-
Referrer Policy:
no-referrer-when-downgrade
Response Headers:
-
Access-Control-Allow-Methods:
GET, POST, PUT, HEAD, DELETE
-
Access-Control-Allow-Origin:
*
-
Access-Control-Expose-Headers:
Etag, x-oss-request-id
-
Access-Control-Max-Age:
0
-
Connection:
keep-alive
-
Content-Length:
0
-
Content-MD5:
FsBu0nzfPfPhtpxeQ+VrXg==
-
Date:
Tue, 25 Dec 2018 12:30:12 GMT
-
ETag:
"16C06ED27CDF3DF3E1B69C5E43E56B5E"
-
Server:
AliyunOSS
-
x-oss-hash-crc64ecma:
17710923272417535921
-
x-oss-request-id:
5C2222D49EB807527FD5DD16
-
x-oss-server-time:
111
用的谷歌浏览器,返回值那部分就直接是空的。