{域名地址}/api/friendlink/create?token={token}
illustrate:{域名地址}
Need to replace it with your domain address.{token}
Need to be replaced with the token in the background content import interface function, such as/api/friendlink/create?token=xxx
POST form-data
Field name |
type |
Required |
illustrate |
token |
string |
yes |
Token in the background content import interface function |
Field name |
type |
Required |
illustrate |
title |
string |
yes |
The other party's keywords |
link |
string |
yes |
Links to the other party |
nofollow |
int |
no |
Whether to add nofollow, optional value: 0 Not added, 1 Add |
back_link |
string |
no |
The other party's reverse link page |
my_title |
string |
no |
My keywords |
my_link |
string |
no |
My link |
contact |
string |
no |
Contact information of the other party |
Remark |
string |
no |
Notes information |
Field name |
type |
illustrate |
code |
int |
Error code |
msg |
string |
Error Cause Description |
token=4712a54b4c456bb29b7816d241db69a7
parameter |
value |
title |
AnqiCMS |
link |
/ |
{
"code": 0,
"msg": "链接已保存"
}
Error code |
illustrate |
0 |
OK |
-1 |
Error, the cause of the error is pointed out in msg |
1001 |
Not logged in |
1002 |
Unauthorized |
200 |
API request OK |