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)