File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
articles/cognitive-services/Translator/reference Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ manager: nitinme
8
8
ms.service : cognitive-services
9
9
ms.subservice : translator-text
10
10
ms.topic : reference
11
- ms.date : 3/13 /2020
11
+ ms.date : 4/2 /2020
12
12
ms.author : swmachan
13
13
---
14
14
@@ -70,7 +70,7 @@ Here's an example request to call the Translator API using the global translator
70
70
71
71
``` curl
72
72
// 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" \
74
74
-H "Ocp-Apim-Subscription-Key:<your-key>" \
75
75
-H "Content-Type: application/json" \
76
76
-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
90
90
91
91
``` curl
92
92
// 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" \
94
94
-H "Ocp-Apim-Subscription-Key:<your-key>" \
95
95
-H "Ocp-Apim-Subscription-Region:<your-region>" \
96
96
-H "Content-Type: application/json" \
You can’t perform that action at this time.
0 commit comments