API call address
{域名地址}/api/friendlink/create?token={token}
illustrate:{域名地址}
Need to replace it with your domain address.{token}
Need to replace it with the Token from the background content import interface feature, such ashttps://en.anqicms.com/api/friendlink/create?token=xxx
Calling methods
POST form-data
Request parameters
GET Parameters
Field name |
type |
Required |
illustrate |
token |
string |
yes |
Token in the Back-end Content Import Interface Feature |
POST Parameters
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 values: 0 Do not add, 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 |
Return parameters
Field name |
type |
illustrate |
code |
int |
Error code |
msg |
string |
Error Cause Description |
Request data example
GET Parameters
token=4712a54b4c456bb29b7816d241db69a7
POST Parameters
Return to the data example
{
"code": 0,
"msg": "链接已保存"
}
Error code
Error code |
illustrate |
0 |
OK |
-1 |
Error, the error reason is indicated in msg |
1001 |
Not logged in |
1002 |
Unauthorized |
200 |
API Request OK |