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

# XblHttpCallGetResponseString

> XblHttpCallGetResponseString

# XblHttpCallGetResponseString

Obtiene la cadena del cuerpo de la respuesta de la llamada HTTP.

## Sintaxis

```cpp theme={null}
HRESULT XblHttpCallGetResponseString(  
         XblHttpCallHandle call,  
         const char** responseString  
)  
```

### Parámetros

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

El identificador de la llamada HTTP.

*responseString*   \_Out\_\
Tipo: char\*\*

La cadena del cuerpo de la respuesta codificada en UTF-8 de la llamada HTTP. La memoria del puntero de cadena devuelto sigue siendo válida durante la vida del objeto XblHttpCallHandle hasta que se llame a XblHttpCallCloseHandle() en él.

### Valor devuelto

Tipo: HRESULT

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

## Comentarios

Solo se puede llamar a esto después de llamar a [XblHttpCallPerformAsync](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync) cuando la tarea HTTP se haya completado. Esto solo será válido si el responsetype pasado a PerformAsync era String.

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


## Related topics

- [HCHttpCallResponseGetResponseString](/es/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetresponsestring.md)
- [XblHttpCallResponseBodyType](/es/reference/live/xsapi-c/http_call_c/enums/xblhttpcallresponsebodytype.md)
- [XblHttpCallGetResponseBodyBytes](/es/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetresponsebodybytes.md)
- [XblHttpCallGetResponseBodyBytesSize](/es/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetresponsebodybytessize.md)
- [HCHttpCallResponseGetResponseBodyBytes](/es/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetresponsebodybytes.md)
