API Agreement

Overview

  • Request protocol: HTTP
  • Request mode: by default, GET and PUT are used to request data and commit, and POST is used to upload a file.
  • Return data format: when the HTTP status code is 200, it returns JSON data, otherwise it returns HTTP error codes.
  • Login authentication: carry sid=xxxxxxxxx in the Cookie.

Response Example

The JSON formatted data is as follows. The attribute of status refers to API Status Codes. The status 0 indicates successful requests, otherwise the request is failed.

{
  status: 0,
  enable: true,
  enable-web-control: true
  ...
}

results matching ""

    No results matching ""