> ## 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.

# XblHttpCallRequestSetRequestBodyBytes

> XblHttpCallRequestSetRequestBodyBytes

# XblHttpCallRequestSetRequestBodyBytes

Define os bytes do corpo da solicitação da chamada HTTP.

## Sintaxe

```cpp theme={null}
HRESULT XblHttpCallRequestSetRequestBodyBytes(  
         XblHttpCallHandle call,  
         const uint8_t* requestBodyBytes,  
         uint32_t requestBodySize  
)  
```

### Parâmetros

*call*   \_In\_\
Tipo: [XblHttpCallHandle](/pt-BR/reference/live/xsapi-c/http_call_c/handles/xblhttpcallhandle)

O identificador da chamada HTTP.

*requestBodyBytes*   \_In\_reads\_bytes\_(requestBodySize)\
Tipo: uint8\_t\*

Os bytes do corpo da solicitação da chamada HTTP.

*requestBodySize*   \_In\_\
Tipo: uint32\_t

O comprimento, em bytes, do corpo que está sendo definido.

### Valor retornado

Tipo: HRESULT

Código de resultado desta operação de API. Os valores possíveis são S\_OK, E\_INVALIDARG, E\_OUTOFMEMORY ou E\_FAIL.

## Comentários

Isso deve ser chamado antes de chamar [XblHttpCallPerformAsync](/pt-BR/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync).

## Requisitos

**Cabeçalho:** http\_call\_c.h

**Biblioteca:** Microsoft.Xbox.Services.14x.GDK.C.lib

## Confira também

[http\_call\_c](/pt-BR/reference/live/xsapi-c/http_call_c/http_call_c_members)


## Related topics

- [XblHttpCallRequestSetRequestBodyBytes](/zh-CN/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetrequestbodybytes.md)
- [HTTP and WebSocket web requests in the GDK](/build/console-features/networking/web-requests/http-networking.md)
- [HCHttpCallRequestSetRequestBodyBytes](/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetrequestbodybytes.md)
- [HCHttpCallRequestSetRequestBodyReadFunction](/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetrequestbodyreadfunction.md)
- [XblHttpCallRequestSetRequestBodyString](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetrequestbodystring.md)
