API Call Address
{域名地址}/api/archive/password/check
Description:{域名地址}Need to replace it with your domain address, such ashttps://en.anqicms.com/api/archive/password/check
Calling method
POST
Request parameters
| Field name |
Type |
Required |
Description |
| id |
int |
Yes |
Document ID |
| password |
string |
Yes |
Input password |
Return parameters
| Field name |
Type |
Description |
| code |
int |
error code |
| msg |
string |
error reason description |
| data |
object |
Verification result |
Verification result object
| Field name |
Type |
Description |
| status |
boolean |
Verification result, true/false |
| content |
string |
Document content, if the verification passes, it will return |
request data example
| Parameter |
Value |
| id |
1 |
| password |
123456 |
Return Data Example
{
"code": 0,
"msg": "",
"data": {
"status": true,
"content": "<p>...</p>"
}
}
Error Code
| error code |
Description |
| 0 |
OK |
| -1 |
Error, the reason is indicated in the msg |
| 1001 |
Not logged in |
| 1002 |
Unauthorized |
| 200 |
API request OK |