Help Center/ Object Storage Service/ SDK Reference/ BrowserJS/ FAQs/ How Do I Obtain an Object URL?
Updated on 2023-03-23 GMT+08:00

How Do I Obtain an Object URL?

Compose the URL in the format of https://Bucket name.Domain name/Directory level/Object name.

  • If the object resides in the root directory of the bucket, its URL does not contain directory levels.
  • To view the domain names of each region, see Regions and Endpoints.
  • For example, if you want to access the object named test.txt in the test folder of bucket testbucket in the CN-Hong Kong region, the URL for accessing this object is https://testbucket.obs.ap-southeast-1.myhuaweicloud.com/test/test.txt.