Skip to content

Commit 73fafc9

Browse files
Merge pull request #238474 from Naveenommi-MSFT/patch-44
(AzureCXP) fixes MicrosoftDocs/azure-docs#109630
2 parents b55478b + 75fd274 commit 73fafc9

File tree

1 file changed

+2
-2
lines changed
  • articles/cognitive-services/Translator/document-translation/quickstarts/includes

1 file changed

+2
-2
lines changed

articles/cognitive-services/Translator/document-translation/quickstarts/includes/rest-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ Before you run the **POST** request, replace `{your-source-container-SAS-URL}` a
6969
***PowerShell***
7070

7171
```powershell
72-
cmd /c curl "{your-source-container-SAS-URL}/translator/text/batch/v1.0/batches" -i -X POST --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}" --data "@document-translation.json"
72+
cmd /c curl "{your-document-translator-endpoint}/translator/text/batch/v1.0/batches" -i -X POST --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}" --data "@document-translation.json"
7373
```
7474

7575
***command prompt / terminal***
7676

7777
```curl
78-
curl "{your-source-container-SAS-URL}/translator/text/batch/v1.0/batches" -i -X POST --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}" --data "@document-translation.json"
78+
curl "{your-document-translator-endpoint}/translator/text/batch/v1.0/batches" -i -X POST --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: {your-key}" --data "@document-translation.json"
7979
```
8080

8181
Upon successful completion:

0 commit comments

Comments
 (0)