必应也可以主动提交了

查看 16|回复 0
作者:站长老五   
必应也越来越挑剔了,妈的,还不给中文文档,我一点点翻译了才看明白
https://www.bing.com/indexnow/getstarted#
以下是主动提交代码:
Request
POST /IndexNow HTTP/1.1
Content-Type: application/json; charset=utf-8Host: 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)

我一, 不给

您需要登录后才可以回帖 登录 | 立即注册

返回顶部