Skip to content

Commit aa060f2

Browse files
committed
Address review comments: Revert REST request tables to code blocks
1 parent 24fcb7f commit aa060f2

File tree

1 file changed

+59
-83
lines changed

1 file changed

+59
-83
lines changed

articles/machine-learning/how-to-access-data-batch-endpoints-jobs.md

Lines changed: 59 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -139,17 +139,14 @@ Use the following body in your request:
139139
}
140140
```
141141

142-
Use the following values for your request:
143-
144-
| Setting | Value |
145-
| --- | --- |
146-
| Method | POST |
147-
| Protocol | HTTP |
148-
| Protocol version | 1.1 |
149-
| Endpoint | The URL of your batch endpoint |
150-
| Authorization type | Bearer token |
151-
| Token | Your Microsoft Entra token |
152-
| `Content-Type` header | application/json |
142+
Create your request:
143+
144+
```
145+
POST HTTP/1.1
146+
Host: <endpoint-URI>
147+
Authorization: Bearer <token>
148+
Content-Type: application/json
149+
```
153150

154151
---
155152

@@ -198,18 +195,15 @@ Use the following body in your request:
198195
}
199196
```
200197

201-
Add the header key `azureml-model-deployment` to your request. For its value, use the name of the deployment that you want to invoke. The following table lists all the values to use for the request:
198+
Add the header key `azureml-model-deployment` to your request. For its value, use the name of the deployment that you want to invoke.
202199

203-
| Setting | Value |
204-
| --- | --- |
205-
| Method | POST |
206-
| Protocol | HTTP |
207-
| Protocol version | 1.1 |
208-
| Endpoint | The URL of your batch endpoint |
209-
| Authorization type | Bearer token |
210-
| Token | Your Microsoft Entra token |
211-
| `Content-Type` header | application/json |
212-
| `azureml-model-deployment` header | Your deployment name |
200+
```
201+
POST HTTP/1.1
202+
Host: <endpoint-URI>
203+
Authorization: Bearer <token>
204+
Content-Type: application/json
205+
azureml-model-deployment: <deployment-name>
206+
```
213207

214208
---
215209

@@ -269,17 +263,14 @@ Indicate the experiment name by using the `experimentName` key in the `propertie
269263
}
270264
```
271265

272-
Use the following values for your request:
266+
Create your request:
273267

274-
| Setting | Value |
275-
| --- | --- |
276-
| Method | POST |
277-
| Protocol | HTTP |
278-
| Protocol version | 1.1 |
279-
| Endpoint | The URL of your batch endpoint |
280-
| Authorization type | Bearer token |
281-
| Token | Your Microsoft Entra token |
282-
| `Content-Type` header | application/json |
268+
```
269+
POST HTTP/1.1
270+
Host: <endpoint-URI>
271+
Authorization: Bearer <token>
272+
Content-Type: application/json
273+
```
283274

284275
---
285276

@@ -511,17 +502,14 @@ Azure Machine Learning data assets (formerly known as datasets) are supported as
511502
}
512503
```
513504

514-
Use the following values for your request:
505+
Create your request:
515506

516-
| Setting | Value |
517-
| --- | --- |
518-
| Method | POST |
519-
| Protocol | HTTP |
520-
| Protocol version | 1.1 |
521-
| Endpoint | The URL of your batch endpoint |
522-
| Authorization type | Bearer token |
523-
| Token | Your Microsoft Entra token |
524-
| `Content-Type` header | application/json |
507+
```
508+
POST HTTP/1.1
509+
Host: <endpoint-URI>
510+
Authorization: Bearer <token>
511+
Content-Type: application/json
512+
```
525513
526514
---
527515
@@ -643,17 +631,14 @@ This example uses the default data store, but you can use a different data store
643631

644632
# [REST](#tab/rest)
645633

646-
Use the following values for your request:
634+
Create your request:
647635

648-
| Setting | Value |
649-
| --- | --- |
650-
| Method | POST |
651-
| Protocol | HTTP |
652-
| Protocol version | 1.1 |
653-
| Endpoint | The URL of your batch endpoint |
654-
| Authorization type | Bearer token |
655-
| Token | Your Microsoft Entra token |
656-
| `Content-Type` header | application/json |
636+
```
637+
POST HTTP/1.1
638+
Host: <endpoint-URI>
639+
Authorization: Bearer <token>
640+
Content-Type: application/json
641+
```
657642
658643
---
659644
@@ -794,17 +779,14 @@ For more information about extra required configurations for reading data from s
794779

795780
# [REST](#tab/rest)
796781

797-
Use the following values for your request:
782+
Create your request:
798783

799-
| Setting | Value |
800-
| --- | --- |
801-
| Method | POST |
802-
| Protocol | HTTP |
803-
| Protocol version | 1.1 |
804-
| Endpoint | The URL of your batch endpoint |
805-
| Authorization type | Bearer token |
806-
| Token | Your Microsoft Entra token |
807-
| `Content-Type` header | application/json |
784+
```
785+
POST HTTP/1.1
786+
Host: <endpoint-URI>
787+
Authorization: Bearer <token>
788+
Content-Type: application/json
789+
```
808790
809791
---
810792
@@ -868,17 +850,14 @@ Use the following body in your request:
868850
}
869851
```
870852

871-
Use the following values for your request:
853+
Create your request:
872854

873-
| Setting | Value |
874-
| --- | --- |
875-
| Method | POST |
876-
| Protocol | HTTP |
877-
| Protocol version | 1.1 |
878-
| Endpoint | The URL of your batch endpoint |
879-
| Authorization type | Bearer token |
880-
| Token | Your Microsoft Entra token |
881-
| `Content-Type` header | application/json |
855+
```
856+
POST HTTP/1.1
857+
Host: <endpoint-URI>
858+
Authorization: Bearer <token>
859+
Content-Type: application/json
860+
```
882861

883862
---
884863

@@ -1003,17 +982,14 @@ This example uses the default data store, **workspaceblobstore**. But you can us
1003982

1004983
# [REST](#tab/rest)
1005984

1006-
Use the following values for your request:
1007-
1008-
| Setting | Value |
1009-
| --- | --- |
1010-
| Method | POST |
1011-
| Protocol | HTTP |
1012-
| Protocol version | 1.1 |
1013-
| Endpoint | The URL of your batch endpoint |
1014-
| Authorization type | Bearer token |
1015-
| Token | Your Microsoft Entra token |
1016-
| `Content-Type` header | application/json |
985+
Create your request:
986+
987+
```
988+
POST HTTP/1.1
989+
Host: <endpoint-URI>
990+
Authorization: Bearer <token>
991+
Content-Type: application/json
992+
```
1017993
1018994
---
1019995

0 commit comments

Comments
 (0)