login

Use the interface to log in. The cookie will carry the Session ID after you log in successfully. For example, Cookie: sid=e0f6b33dd2b575eff40733b3778beaab.

HTTP Request

GET http://ip/mwapi?method=login&id=xxx&pass=xxx
Parameter Description
method login
id Indicates user ID.
pass Indicates MD5 encrypted password.

Response Body

{
 "status": 0
}
Name Description
status 0 indicates that the request was accepted successfully.
36 indicates that the user name or password is incorrect.
Refer to API Status Codes to find specific description for other values.

Example

http://192.168.66.1/mwapi?method=login&id=Admin&pass=e3afed0047b08059d0fada10f400c1e5

results matching ""

    No results matching ""

    results matching ""

      No results matching ""