How Do I Obtain the Access Path to an Object?
Format of an object access path is as follows: https://Bucket name.Domain name/Object name Example: https://bucketname.obs.cn-north-4.myhuaweicloud.com/objectname
You can combine path manually or use the following tools to obtain the path:
|
Tool |
Object URL |
|---|---|
|
OBS Console |
Click the object and copy the URL for the detailed information of the object. |
|
OBS Browser+ |
Click the Attribute button of the object and then you can copy the URL displayed in the detailed information about the object. |
|
obsutil |
Not supported |
|
SDK |
You can get the URL of an object by calling the getObjectUrl interface. |
|
API |
Not supported |
If the object access path is user-assembled, you need to escape the object name by referring to the URL encoding rules.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.