We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e987f70 commit 5258d83Copy full SHA for 5258d83
1 file changed
docs/wait-for-token.mdx
@@ -82,13 +82,14 @@ The `publicAccessToken` returned by `wait.createToken()` is scoped to that speci
82
</Step>
83
</Steps>
84
85
+## Completing via webhook callback
86
+
87
<Warning>
- The `token.url` (webhook callback URL) is designed for server-to-server use and does **not** have
- CORS headers. Don't call it from the browser — use the pattern above instead.
88
+ The `token.url` webhook callback URL is designed for server-to-server use and does **not** have
89
+ CORS headers. Don't call it from the browser, use the [Completing from the
90
+ browser](#completing-from-the-browser) pattern instead.
91
</Warning>
92
-## Completing via webhook callback
-
93
Or you can make an HTTP POST request to the `url` it returns. This is an HTTP callback:
94
95
```ts
0 commit comments