去评论
dz插件网

必应也可以主动提交了

迪巴拉
2024/08/10 22:14:25
必应也越来越挑剔了,妈的,还不给中文文档,我一点点翻译了才看明白
此外,必应排名,越来越看重外链了,如果你的网站没有优质外链,就是严重问题。

https://www.bing.com/indexnow/getstarted#

以下是主动提交代码:

Request
POST /IndexNow HTTP/1.1
Content-Type: application/json; charset=utf-8
Host: api.indexnow.org

{  
"host": "www.example.org",  
"key": "26ecd1ada8034912a62634cc4e3ddd7e",  
"keyLocation": "https://www.example.org/26ecd1ada8034912a62634cc4e3ddd7e.txt",  
"urlList": [      "https://www.example.org/url1",      "https://www.example.org/folder/url2",      "https://www.example.org/url3"      ]
}




以下是返回结果:
Response
Reasons

200
Ok
URL submitted successfully

400
Bad request
Invalid format

403
Forbidden
In case of key not valid (e.g. key not found, file found but key not in the file)

422
Unprocessable Entity
In case of URLs don’t belong to the host or the key is not matching the schema in the protocol

429
Too Many Requests
Too Many Requests (potential Spam)