Skip to content

Commit 5fb571a

Browse files
authored
Fixed incorrect endpoints
1 parent 6e7e46c commit 5fb571a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/cognitive-services/Translator/reference/v3-0-reference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: translator-text
1010
ms.topic: reference
11-
ms.date: 3/13/2020
11+
ms.date: 4/2/2020
1212
ms.author: swmachan
1313
---
1414

@@ -70,7 +70,7 @@ Here's an example request to call the Translator API using the global translator
7070

7171
```curl
7272
// Pass secret key using headers
73-
curl -X POST "https://api.cognitive.microsoft.com/translate?api-version=3.0&to=es" \
73+
curl -X POST "https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=es" \
7474
-H "Ocp-Apim-Subscription-Key:<your-key>" \
7575
-H "Content-Type: application/json" \
7676
-d "[{'Text':'Hello, what is your name?'}]"
@@ -90,7 +90,7 @@ Here's an example request to call the Translator API using the regional translat
9090

9191
```curl
9292
// Pass secret key and region using headers
93-
curl -X POST "https://api.cognitive.microsoft.com/translate?api-version=3.0&to=es" \
93+
curl -X POST "https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=es" \
9494
-H "Ocp-Apim-Subscription-Key:<your-key>" \
9595
-H "Ocp-Apim-Subscription-Region:<your-region>" \
9696
-H "Content-Type: application/json" \

0 commit comments

Comments
 (0)