• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. Developer Guide (Node.js SDK)
  4. Quick Start

Quick Start

Ensure that you are familiar with OBS basic concepts from Help Center, such as bucket, object, region, and AK/SK.

This chapter introduces how to set up an environment for secondary development and to perform common operations, including creating a bucket, uploading an object, and downloading an object.

  • You can see General Examples of ObsClient to understand how to call OBS Node.js SDK APIs in a general manner.
  • An instance related to ObsClient returns the calling results by using a callback function that contains two an exception parameter and an SDK common result object parameter in sequence. If the exception information parameter in the callback function is not null, an error occurs during the API calling. Otherwise, the API is called. In such conditions, you need to obtain the HTTP status code from the SDK common result object parameter to check whether the operation is successful.