- Documentation
Torch Object Storage
SDK Reference
Browser.js
Pre-signature Mechanism
Standard Presigned Signature (Browser.js SDK)
Pre-signature Mechanism
Standard Presigned Signature (Browser.js SDK)
Standard Presigned Signature (Browser.js SDK)
By default, TosClient includes a signature in the request header when initiating requests to the server. The SDK also supports generating signed URLs, which users can use to initiate HTTP requests directly or share with third parties to grant access authorization.
Presigned Overview
By default, TosClient includes a signature in the request header when initiating a request to the server. The SDK also supports generating signed URLs, which can be used to initiate HTTP requests directly or shared with third parties to enable access authorization.
Sample Code
Uploading Objects Using Pre-Signed URLs
The following code is used to upload objects to a specified bucket via a pre-signed URL.
Downloading Objects Using Pre-Signed URLs
The following code is used to download objects from a specified bucket using a pre-signed URL.
Deleting Objects Using Pre-Signed URLs
The following code is used to delete objects in a specified bucket via a pre-signed URL.
Last updated: 2025.09.22 18:55:46