Skip to content

Commit 0f5d0d5

Browse files
Merge pull request #852 from jinruishao/patch-12
Update rest-quickstart-text.md
2 parents 29e3b49 + 3c89d1c commit 0f5d0d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/ai-services/content-safety/includes/quickstarts/rest-quickstart-text.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The following section walks through a sample request with cURL. Paste the comman
3131
> See [Input requirements](../../overview.md#input-requirements) for maximum text length limitations.
3232
3333
```shell
34-
curl --location --request POST '<endpoint>/contentsafety/text:analyze?api-version=2023-10-01' \
34+
curl --location --request POST '<endpoint>/contentsafety/text:analyze?api-version=2024-09-01' \
3535
--header 'Ocp-Apim-Subscription-Key: <your_subscription_key>' \
3636
--header 'Content-Type: application/json' \
3737
--data-raw '{
@@ -47,7 +47,7 @@ The below fields must be included in the url:
4747

4848
| Name |Required | Description | Type |
4949
| :------- |-------- |:--------------- | ------ |
50-
| **API Version** |Required |This is the API version to be checked. The current version is: api-version=2023-10-01. Example: `<endpoint>/contentsafety/text:analyze?api-version=2023-10-01` | String |
50+
| **API Version** |Required |This is the API version to be checked. The current version is: api-version=2024-09-01. Example: `<endpoint>/contentsafety/text:analyze?api-version=2024-09-01` | String |
5151

5252
The parameters in the request body are defined in this table:
5353

0 commit comments

Comments
 (0)