Commit f5f11f94 authored by liujiahua123123's avatar liujiahua123123

http

parent d3b002a6
...@@ -22,7 +22,7 @@ Request:<br> ...@@ -22,7 +22,7 @@ Request:<br>
| qq | String |false|1040400290|bot QQ number you want to access| | qq | String |false|1040400290|bot QQ number you want to access|
Response:<br> Response if success:<br>
| name | type | example|note| | name | type | example|note|
| --- | --- | --- | --- | | --- | --- | --- | --- |
...@@ -30,6 +30,22 @@ Response:<br> ...@@ -30,6 +30,22 @@ Response:<br>
| session |String |UANSHDKSLAOISN|your session key| | session |String |UANSHDKSLAOISN|your session key|
Response if failed:<br>
| name | type | example|note|
| --- | --- | --- | --- |
| success |Boolean |false|if this session is authorized|
| session |String |null|your session key|
| error |int |0|error code|
Error:<br>
| code | reason|
| --- | --- |
| 0 | wrong MIRAI API HTTP key |
| 1 | unknown bot number |
without session key, you are not able to access any method below.</br> without session key, you are not able to access any method below.</br>
session key should be attached to your cookies like this: session key should be attached to your cookies like this:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment