Skip to content

Commit e117aa6

Browse files
committed
update content length to optional
1 parent 7ff7d72 commit e117aa6

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

articles/ai-services/translator/reference/v3-0-break-sentence.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Request headers include:
4343
| ------- | ----------- |
4444
| Authentication header(s) <img width=200/> | **Required request header**.<br/>See <a href="v3-0-reference.md#authentication">available options for authentication</a>. |
4545
| Content-Type | **Required request header**.<br/>Specifies the content type of the payload. Possible values are: `application/json`. |
46-
| Content-Length | **Required request header**.<br/>The length of the request body. |
46+
| Content-Length | **Optional**.<br/>The length of the request body. |
4747
| X-ClientTraceId | **Optional**.<br/>A client-generated GUID to uniquely identify the request. You can omit this header if you include the trace ID in the query string using a query parameter named `ClientTraceId`. |
4848

4949
## Request body

articles/ai-services/translator/reference/v3-0-detect.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ Request headers include:
4141
| Headers | Description |
4242
| --- | --- |
4343
| Authentication header(s) | <em>Required request header</em>.<br>See [available options for authentication](./v3-0-reference.md#authentication)</a>. |
44-
| Content-Type | *Required request header*.<br>Specifies the content type of the payload. Possible values are: `application/json`. |
45-
| Content-Length | *Required request header*.<br>The length of the request body. |
46-
| X-ClientTraceId | *Optional*.<br>A client-generated GUID to uniquely identify the request. You can omit this header if you include the trace ID in the query string using a query parameter named `ClientTraceId`. |
44+
| Content-Type | _Required request header_.<br>Specifies the content type of the payload. Possible values are: `application/json`. |
45+
| Content-Length | _Optional_.<br>The length of the request body. |
46+
| X-ClientTraceId | _Optional_.<br>A client-generated GUID to uniquely identify the request. You can omit this header if you include the trace ID in the query string using a query parameter named `ClientTraceId`. |
4747

4848
## Request body
4949

articles/ai-services/translator/reference/v3-0-dictionary-examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Request headers include:
4343
| ------ | ----------- |
4444
| Authentication header(s) <img width=200/> | **Required request header**.<br>See [Authentication](v3-0-reference.md#authentication)>available options for authentication</a>. |
4545
| Content-Type | **Required request header**.<br>Specifies the content type of the payload. Possible values are: `application/json`. |
46-
| Content-Length | **Required request header**.<br>The length of the request body. |
46+
| Content-Length | **Optional**.<br>The length of the request body. |
4747
| X-ClientTraceId | **Optional**.<br>A client-generated GUID to uniquely identify the request. You can omit this header if you include the trace ID in the query string using a query parameter named `ClientTraceId`. |
4848

4949
## Request body

articles/ai-services/translator/reference/v3-0-dictionary-lookup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Request headers include:
4444
| ------ | ----------- |
4545
| Authentication header(s) | **Required request header**.<br/>See [Authentication](v3-0-reference.md#authentication).|
4646
| Content-Type | **Required request header**.<br>Specifies the content type of the payload. Possible values are: `application/json`. |
47-
| Content-Length | **Required request header**.<br>The length of the request body. |
47+
| Content-Length | **Optional**.<br>The length of the request body. |
4848
| X-ClientTraceId | **Optional**.<br/>A client-generated GUID to uniquely identify the request. You can omit this header if you include the trace ID in the query string using a query parameter named `ClientTraceId`. |
4949

5050
## Request body

articles/ai-services/translator/reference/v3-0-translate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Request headers include:
5959
| --- | --- |
6060
| Authentication headers | _Required request header_. <br>See [available options for authentication](./v3-0-reference.md#authentication). |
6161
| Content-Type | _Required request header_. <br>Specifies the content type of the payload. <br>Accepted value is `application/json; charset=UTF-8`. |
62-
| Content-Length | _Required request header_. <br>The length of the request body. |
62+
| Content-Length | _Optional_. <br>The length of the request body. |
6363
| X-ClientTraceId | _Optional_. <br>A client-generated GUID to uniquely identify the request. You can omit this header if you include the trace ID in the query string using a query parameter named `ClientTraceId`. |
6464

6565
## Request body

articles/ai-services/translator/reference/v3-0-transliterate.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ Request headers include:
4141

4242
| Headers | Description |
4343
| --- | --- |
44-
| Authentication header(s) | <em>Required request header</em>.<br/>See [available options for authentication](./v3-0-reference.md#authentication). |
45-
| Content-Type | *Required request header*.<br/>Specifies the content type of the payload. Possible values are: `application/json` |
46-
| Content-Length | *Required request header*.<br/>The length of the request body. |
47-
| X-ClientTraceId | *Optional*.<br/>A client-generated GUID to uniquely identify the request. You can omit this header if you include the trace ID in the query string using a query parameter named `ClientTraceId`. |
44+
| Authentication header(s) | _Required request header_.<br/>See [available options for authentication](./v3-0-reference.md#authentication). |
45+
| Content-Type | _Required request header_.<br/>Specifies the content type of the payload. Possible values are: `application/json` |
46+
| Content-Length | _Optional_.<br/>The length of the request body. |
47+
| X-ClientTraceId | _Optional_.<br/>A client-generated GUID to uniquely identify the request. You can omit this header if you include the trace ID in the query string using a query parameter named `ClientTraceId`. |
4848

4949
## Request body
5050

0 commit comments

Comments
 (0)