Skip to content

Commit 6b5d6d8

Browse files
authored
Update custom-categories-rapid.md
fix data in patch curl sample for IR
1 parent 11a1144 commit 6b5d6d8

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)