> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 標準 HTTP 要求與回應標頭

> 標準 HTTP 要求與回應標頭

# 標準 HTTP 要求與回應標頭

<a id="ID4ES" />

## 要求標頭

下表列出提出 XBOX Live Services 要求時所使用的標準 HTTP 標頭。

| 標頭 | 值 | 描述 |
| - | - | - |
| x-xbl-contract-version | 1 | API 合約版本。所有 XBOX Live Services 要求都必須提供。 |
| Authorization | STSTokenString | STS 驗證權杖。此標頭的值取自 <b>GetTokenAndSignatureResult.Token</b> 屬性。 |
| Content-Type | application/xml, application/json, multipart/form-data or application/x-www-form-urlencoded | 指定隨要求提交的內容類型。 |
| Content-Length | 整數值 | 指定在 POST 要求中提交的資料長度。 |
| Accept-Language | String | 指定如何將傳回的字串當地語系化。如需有效的語言/地區設定組合清單，請參閱 <a href="https://msdn.microsoft.com/library/bb975829.aspx">Advanced XBOX 360 Programming</a>。 |

<a id="ID4E6C" />

## 回應標頭

下表列出 XBOX Live Services 回應中使用的標準 HTTP 標頭。

\| 標頭| 值| 描述|
\| --- | --- | --- | --- | --- | --- |
\| Content-Type| application/xml, application/json| 指定傳回的內容類型。|
\| Content-Length| 整數值| 指定傳回的資料長度。|

<a id="ID4EEE" />

## 另請參閱

<a id="ID4EGE" />

##### 上層

[其他參考](/zh-TW/reference/live/rest/additional/atoc-xboxlivews-reference-additional)


## Related topics

- [使用 XMAT 檢查與修改網路流量](/zh-TW/tools/tools-services/live-xbox-multiplayer-analysis-tool.md)
- [版本資訊](/zh-TW/tools/tools-pc/xbox-pc-remote-tools/release-notes/index.md)
- [PlayFab Services SDK 2026 版本資訊](/zh-TW/services/playfab/release-notes/index.md)
- [HCHttpCallResponseSetHeader](/zh-TW/reference/live/httpclient/httpprovider/functions/hchttpcallresponsesetheader.md)
- [HCMockResponseSetHeader](/zh-TW/reference/live/httpclient/mock/functions/hcmockresponsesetheader.md)
