Skip to content

Commit aaeb8c6

Browse files
authored
Merge pull request #123822 from suxi-ms/patch-1
Update custom-categories-rapid.md
2 parents cb87193 + 6b5d6d8 commit aaeb8c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/ai-services/content-safety/how-to/custom-categories-rapid.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ curl --location --request PATCH 'https://<endpoint>/contentsafety/text/incidents
5353
--header 'Ocp-Apim-Subscription-Key: <your-content-safety-key>' \
5454
--header 'Content-Type: application/json' \
5555
--data '{
56-
"incidentName": "<text-incident-name>",
57-
"incidentDefinition": "string"
56+
\"incidentName\": \"<text-incident-name>\",
57+
\"incidentDefinition\": \"string\"
5858
}'
5959
```
6060

@@ -248,7 +248,7 @@ curl --location --request PATCH 'https://<endpoint>/contentsafety/image/incident
248248
--header 'Ocp-Apim-Subscription-Key: <your-content-safety-key>' \
249249
--header 'Content-Type: application/json' \
250250
--data '{
251-
"incidentName": "<image-incident-name>"
251+
\"incidentName\": \"<image-incident-name>\"
252252
}'
253253
```
254254

0 commit comments

Comments
 (0)