Help Center/ Object Storage Service/ SDK Reference/ BrowserJS/ FAQs/ How Do I Obtain an Object URL?
Updated on 2023-06-12 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.
  • For example, if you want to access the object named test.txt in the test folder of bucket testbucket in the EU-Dublin region, the URL for accessing this object is https://testbucket.obs.eu-west-101.myhuaweicloud.eu/test/test.txt.