diff --git a/content/docs/documentation/making-your-first-request.mdx b/content/docs/documentation/making-your-first-request.mdx index eb73a81..3e6e2b1 100644 --- a/content/docs/documentation/making-your-first-request.mdx +++ b/content/docs/documentation/making-your-first-request.mdx @@ -52,7 +52,7 @@ Download Postman from [postman.com/downloads](https://www.postman.com/downloads/ Paste this URL into the request field: ``` -https://api.whitepages.com/v1/person?name=John%20Smith&address.city=Seattle&address.state_code=WA +https://api.whitepages.com/v1/person?name=John%20Smith&city=Seattle&state_code=WA ``` @@ -105,7 +105,7 @@ If you see data like this, your API key is working correctly. If you prefer the command line, you can use cURL: ```bash -curl 'https://api.whitepages.com/v1/person?name=John%20Smith&address.city=Seattle&address.state_code=WA' \ +curl 'https://api.whitepages.com/v1/person?name=John%20Smith&city=Seattle&state_code=WA' \ --header 'X-Api-Key: YOUR_API_KEY' ``` diff --git a/src/components/activation/api-key-tester.tsx b/src/components/activation/api-key-tester.tsx index 7919e00..721c732 100644 --- a/src/components/activation/api-key-tester.tsx +++ b/src/components/activation/api-key-tester.tsx @@ -71,7 +71,7 @@ export function ApiKeyTester({ mockMode = false }: ApiKeyTesterProps) { try { const result = await fetch( - "/docs/api/test-proxy?name=John%20Smith&address.city=Seattle&address.state_code=WA", + "/docs/api/test-proxy?name=John%20Smith&city=Seattle&state_code=WA", { headers: { "X-Api-Key": apiKey.trim(),