Skip to content

Commit 0bd1e9f

Browse files
authored
fix(api): note api key in header user
1 parent 97c14e4 commit 0bd1e9f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/api/reference.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ You can pass your API key along with tests requests by using the `k` parameter.
2727
https://www.webpagetest.org/runtest.php?url={your_domain}&k={your_api_key}
2828
```
2929

30+
If you prefer, instead of passing the `k` parameter, you may pass the request header `X-WPT-API-KEY`
31+
3032
::: warning
3133
Your API keys are directly tied to your account, so be sure to keep them secure. Avoid sharing them in any public area, such as GitHub or client-side code.
3234
:::

0 commit comments

Comments
 (0)