Skip to main content
The API Playground is a web-based tool designed for developers looking to explore and experiment with the Cobo WaaS 2.0 API directly from the Developer Hub, all within the browser.

Prerequisites

Before using the API Playground, make sure you have completed the following:

Steps

  1. Go to any API operation in the API Reference and click Try it. API Playground try The API Playground panel will appear, showing a request editor, sample codes for different programming languages, and a response viewer. API Playground panel
  2. Modify the request as follows:
    • In the Authorization section, enter your API secret into the BIZ-API-KEY field.
      For API requests sent via the API Playground, you only need to provide your API secret in the request headers. However, for actual API requests, you need to provide your API key, a nonce, and an API signature as request headers. For more details, see Authentication.
    • Set the path parameters, query parameters, and request body as needed.
  3. Choose the API base URL that you want to send requests to: You can switch between development and production directly in the API Playground by clicking the arrow icon next to the base URL. API Playground switch environment
    For security reasons, it is strongly recommended to use the development environment for testing purposes. For more information about differences between the development and production environments, see Environments.
  4. Click the Send button to submit the request.
Upon successful submission, you will find the response returned from the WaaS service in the response viewer.
Feel free to share your feedback to improve our documentation!