Skip to content

Commit 941f012

Browse files
authored
Merge pull request #89430 from aahill/ir-endpoint-update
[CogSvcs][InkRecognizer] Updating endpoint info
2 parents cf3c1c2 + 8cf5e62 commit 941f012

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

articles/cognitive-services/Ink-Recognizer/quickstarts/csharp.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: ink-recognizer
1010
ms.topic: quickstart
11-
ms.date: 05/02/2019
11+
ms.date: 09/23/2019
1212
ms.author: aahi
1313
---
1414

@@ -55,7 +55,7 @@ The source code for this quickstart can be found on [GitHub](https://go.microsof
5555
using Newtonsoft.Json.Linq;
5656
```
5757

58-
2. Create variables for your subscription key and your endpoint. Below is the URI you can use for ink recognition. It will be appended to your service endpoint later to create the API request URl.
58+
2. Create variables for your subscription key and your endpoint. Replace the endpoint below with the one generated for your Ink Recognizer resource. Append it to the Ink recognizer URI to connect to the API.
5959

6060
```csharp
6161
// Replace the subscriptionKey string with your valid subscription key.
@@ -65,7 +65,7 @@ The source code for this quickstart can be found on [GitHub](https://go.microsof
6565
const string dataPath = @"PATH-TO-INK-STROKE-DATA";
6666

6767
// URI information for ink recognition:
68-
const string endpoint = "https://api.cognitive.microsoft.com";
68+
const string endpoint = "https://<your-custom-subdomain>.cognitiveservices.azure.com";
6969
const string inkRecognitionUrl = "/inkrecognizer/v1.0-preview/recognize";
7070
```
7171

articles/cognitive-services/Ink-Recognizer/quickstarts/java.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: ink-recognizer
1010
ms.topic: quickstart
11-
ms.date: 05/02/2019
11+
ms.date: 09/23/2019
1212
ms.author: aahi
1313
---
1414

@@ -53,15 +53,15 @@ The source code for this quickstart can be found on [GitHub](https://go.microsof
5353
import java.nio.file.Paths;
5454
```
5555

56-
2. Create variables for your subscription key and your endpoint. Below is the URI you can use for ink recognition. It will be appended to your service endpoint later to create the API request URL.
56+
2. Create variables for your subscription key and your endpoint. Replace the endpoint below with the one generated for your Ink Recognizer resource. Append it to the Ink recognizer URI to connect to the API.
5757

5858
```java
5959
// Replace the subscriptionKey string value with your valid subscription key.
6060
static final String subscriptionKey = "YOUR_SUBSCRIPTION_KEY";
6161
// Replace the dataPath string with a path to the JSON formatted ink stroke data file.
6262
static final String dataPath = "PATH_TO_INK_STROKE_DATA";
6363

64-
static final String endpoint = "https://api.cognitive.microsoft.com";
64+
static final String endpoint = "https://<your-custom-subdomain>.cognitiveservices.azure.com";
6565
static final String inkRecognitionUrl = "/inkrecognizer/v1.0-preview/recognize";
6666
```
6767

articles/cognitive-services/Ink-Recognizer/quickstarts/javascript.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: ink-recognizer
1010
ms.topic: quickstart
11-
ms.date: 05/02/2019
11+
ms.date: 09/23/2019
1212
ms.author: aahi
1313
---
1414

@@ -104,7 +104,7 @@ The source code for this quickstart can be found on [GitHub](https://go.microsof
104104
105105
```javascript
106106
// Replace the below URL with the correct one for your subscription.
107-
// Your endpoint can be found in the Azure portal. For example: https://westus2.api.cognitive.microsoft.com
107+
// Your endpoint can be found in the Azure portal. For example: "https://<your-custom-subdomain>.cognitiveservices.azure.com";
108108
var SERVER_ADDRESS = "YOUR-SUBSCRIPTION-URL";
109109
var ENDPOINT_URL = SERVER_ADDRESS + "/inkrecognizer/v1.0-preview/recognize";
110110
// Replace the subscriptionKey string value with your valid subscription key.

0 commit comments

Comments
 (0)