Sdílet prostřednictvím


Standard HTTP Request and Response Headers

Request Headers

The following table lists the standard HTTP headers used when making Xbox Live Services requests.

Header Value Description
x-xbl-contract-version 1 API contract version. Required on all Xbox Live Services requests.
Authorization STSTokenString STS authentication token. The value for this header is retrieved from the GetTokenAndSignatureResult.Token property.
Content-Type application/xml, application/json, multipart/form-data or application/x-www-form-urlencoded Specifies the type of content being submitted with a request.
Content-Length Integer value Specifies the length of the data being submitted in a POST request.
Accept-Language String Specifies how to localize any strings returned. See Advanced Xbox 360 Programming for a list of valid language/locale combinations.

Response Headers

The following table lists the standard HTTP header used in Xbox Live Services responses.

Header Value Description
Content-Type application/xml, application/json Specifies the type of content being returned.
Content-Length Integer value Specifies the length of the data being returned.

See also

Parent

Additional Reference