Skip to content

Commit 51d5364

Browse files
AkshatMkodster28
authored andcommitted
[Web Bot Auth] Update documentation in web-bot-auth.mdx (cloudflare#23335)
* [Web Bot Auth] Update documentation in web-bot-auth.mdx - Resolves cloudflare#23334 * Update src/content/docs/bots/concepts/bot/verified-bots/web-bot-auth.mdx Co-authored-by: Kody Jackson <[email protected]> * Update src/content/docs/bots/concepts/bot/verified-bots/web-bot-auth.mdx Co-authored-by: Kody Jackson <[email protected]> --------- Co-authored-by: Kody Jackson <[email protected]>
1 parent f1a29e4 commit 51d5364

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/content/docs/bots/concepts/bot/verified-bots/web-bot-auth.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,12 @@ Signature-Input: sig2=("@authority" "signature-agent")
187187
Signature: sig2=:jdq0SqOwHdyHr9+r5jw3iYZH6aNGKijYp/EstF4RQTQdi5N5YYKrD+mCT1HA1nZDsi6nJKuHxUi/5Syp3rLWBA==:
188188
```
189189

190+
:::note
191+
You can test how Cloudflare interprets your signed requests against https://crawltest.com/cdn-cgi/web-bot-auth. This endpoint returns
192+
an HTTP `401` if your message is formatted correctly but your key is unknown, an HTTP `200` if the key is known and your message is verified,
193+
and an HTTP `400` otherwise. You may also see an HTTP `401` if your key is known but the message failed to verify.
194+
:::
195+
190196
## Additional resources
191197

192198
You may wish to refer to the following resources.

0 commit comments

Comments
 (0)