API Agreement

Overview

  • Request protocol: HTTP
  • Request method: by default, GET is used to request and commit data, and POST is used to upload a file.
  • Request URL: http://IP/usapi?method=xxx&param1=value1&param2=value2...
  • Return data format: when the status code is 200, it returns JSON data, otherwise it returns HTTP status codes.
  • Login authentication: carry sid=xxxxxxxxx in cookies

Example Response

The JSON formatted data is as follows. HTTP response status codes indicate whether a specific HTTP request has been successfully completed. The status 0 indicates a successful request, otherwise the request is failed.

{
 "result": 0,
  "cur-status": 65552,
  "last-rec-status": 0,
  "cur-time": 0,
  "box-name": "Ultra Encode B313221201001",
  ...
}

results matching ""

    No results matching ""

    results matching ""

      No results matching ""