You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/language-service/custom-classification/includes/quickstarts/rest-api.md
+17-7Lines changed: 17 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,12 +81,14 @@ Use the following URL to create a project and import your tags file. Replace the
81
81
82
82
### Parameters
83
83
84
-
Use the following header to authenticate your request.
84
+
You need to pass the following parameters with your request.
85
85
86
86
|Key|Explanation|Value|
87
87
|--|--|--|
88
88
|`api-version`| The API version used.|`2021-11-01-preview`|
89
89
90
+
This can be done by adding `?api-version=2021-11-01-preview` to the end of your request url.
91
+
90
92
### Headers
91
93
92
94
Use the following header to authenticate your request.
@@ -161,12 +163,14 @@ Use the following URL when creating your API request. Replace the placeholder va
161
163
162
164
### Parameters
163
165
164
-
Use the following header to authenticate your request.
166
+
You need to pass the following parameters with your request.
165
167
166
168
|Key|Explanation|Value|
167
169
|--|--|--|
168
170
|`api-version`| The API version used.|`2021-11-01-preview`|
169
171
172
+
This can be done by adding `?api-version=2021-11-01-preview` to the end of your request url.
173
+
170
174
### Headers
171
175
172
176
Use the following header to authenticate your request.
@@ -194,7 +198,7 @@ Use the following JSON in your request. The model will be named `MyModel` once t
194
198
Once you send your API request, you will receive a `202` response indicating success. In the response headers, extract the `location` value. It will be formatted like this:
`JOB-ID` is used to identify your request, since this operation is asynchronous. You will use this URL in the next step to get the training status.
@@ -216,12 +220,14 @@ Use the following **GET** request to query the status of your model's training p
216
220
217
221
### Parameters
218
222
219
-
Use the following header to authenticate your request.
223
+
You need to pass the following parameters with your request.
220
224
221
225
|Key|Explanation|Value|
222
226
|--|--|--|
223
227
|`api-version`| The API version used.|`2021-11-01-preview`|
224
228
229
+
This can be done by adding `?api-version=2021-11-01-preview` to the end of your request url.
230
+
225
231
### Headers
226
232
227
233
Use the following header to authenticate your request.
@@ -282,12 +288,14 @@ Create a **PUT** request using the following URL, headers, and JSON body to star
282
288
283
289
### Parameters
284
290
285
-
Use the following header to authenticate your request.
291
+
You need to pass the following parameters with your request.
286
292
287
293
|Key|Explanation|Value|
288
294
|--|--|--|
289
295
|`api-version`| The API version used.|`2021-11-01-preview`|
290
296
297
+
This can be done by adding `?api-version=2021-11-01-preview` to the end of your request url.
298
+
291
299
### Headers
292
300
293
301
Use the following header to authenticate your request.
@@ -310,7 +318,7 @@ Use the following JSON in your request. The model will be named `MyModel` once t
310
318
Once you send your API request, you will receive a `202` response indicating success. In the response headers, extract the `location` value. It will be formatted like this:
0 commit comments