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

Establece los bytes del cuerpo de la solicitud de la llamada HTTP.

## Sintaxis

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

### Parámetros

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

El identificador de la llamada HTTP.

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

Los bytes del cuerpo de la solicitud de la llamada HTTP.

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

La longitud en bytes del cuerpo que se establece.

### Valor devuelto

Tipo: HRESULT

Código de resultado para esta operación de API. Los valores posibles son S\_OK, E\_INVALIDARG, E\_OUTOFMEMORY o E\_FAIL.

## Comentarios

Se debe llamar a esto antes de llamar a [XblHttpCallPerformAsync](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync).

## Requisitos

**Encabezado:** http\_call\_c.h

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

## Consulte también

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