API Agreement

Overview

  • Request protocol: HTTP
  • Request mode: by default, GET is used to request data and commit, and POST is used to upload a file.
  • Request URL: http://IP/mwapi?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

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 ""

    results matching ""

      No results matching ""