Skip to content

Commit 3aa0cb9

Browse files
committed
Added note to REST include for consistency with other products
1 parent 59a83e2 commit 3aa0cb9

File tree

1 file changed

+2
-0
lines changed
  • articles/cognitive-services/Content-Moderator/includes/quickstarts

1 file changed

+2
-0
lines changed

articles/cognitive-services/Content-Moderator/includes/quickstarts/rest-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ You'll use a command like the following to call the Content Moderator API to ana
3939
Copy the command to a text editor and make the following changes:
4040

4141
1. Assign `Ocp-Apim-Subscription-Key` to your valid Face subscription key.
42+
> [!IMPORTANT]
43+
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../cognitive-services-security.md) article for more information.
4244
1. Change the first part of the query URL to match the endpoint that corresponds to your subscription key.
4345
[!INCLUDE [subdomains-note](../../../../../includes/cognitive-services-custom-subdomains-note.md)]
4446
1. Optionally change the body of the request to whatever string of text you'd like to analyze.

0 commit comments

Comments
 (0)