Skip to content

Commit 3408a02

Browse files
Merge #1715
1715: add `getting_started_communicating_with_a_protected_instance` to getting started r=maryamsulemani97 a=maryamsulemani97 Co-authored-by: Maryam Sulemani <[email protected]> Co-authored-by: Maryam <[email protected]>
2 parents baed4b9 + 3d480af commit 3408a02

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.code-samples.meilisearch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ getting_started_configure_settings: |-
622622
}'
623623
getting_started_communicating_with_a_protected_instance: |-
624624
curl \
625-
-X POST 'http://127.0.0.1:7700/indexes/movies/search' \
625+
-X POST 'http://localhost:7700/indexes/movies/search' \
626626
-H 'Authorization: Bearer API_KEY'
627627
faceted_search_update_settings_1: |-
628628
curl \

learn/getting_started/quick_start.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -502,9 +502,9 @@ Here's how to use the master key you set to [get all keys](/reference/api/keys.m
502502

503503
<CodeSamples id="authorization_header_1" />
504504

505-
::: warning
506-
The master key should only be used for managing your API keys. Avoid using it for regular API calls.
507-
:::
505+
The master key should only be used for retrieving and managing API keys. For regular API calls, such as search, use an API key:
506+
507+
<CodeSamples id="getting_started_communicating_with_a_protected_instance" />
508508

509509
To learn more about key management, refer to our [dedicated guide](/learn/security/master_api_keys.md).
510510

0 commit comments

Comments
 (0)