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

Obtém a cadeia de caracteres do corpo da resposta da chamada HTTP.

## Sintaxe

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

### Parâmetros

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

O identificador da chamada HTTP.

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

A cadeia de caracteres do corpo da resposta codificada em UTF-8 da chamada HTTP. A memória do ponteiro de cadeia de caracteres retornado permanece válida durante a vida útil do objeto XblHttpCallHandle até que XblHttpCallCloseHandle() seja chamado nele.

### Valor retornado

Tipo: HRESULT

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

## Comentários

Isso só pode ser chamado após chamar [XblHttpCallPerformAsync](/pt-BR/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync) quando a tarefa HTTP for concluída. Isso só será válido se o responsetype passado para PerformAsync tiver sido String.

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

- [XblHttpCallGetResponseString](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetresponsestring.md)
- [HTTP and WebSocket web requests in the GDK](/build/console-features/networking/web-requests/http-networking.md)
- [XblHttpCallGetHeader](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetheader.md)
- [XblHttpCallGetHeaderAtIndex](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetheaderatindex.md)
- [HCHttpCallResponseGetResponseString](/reference/live/httpclient/httpclient/functions/hchttpcallresponsegetresponsestring.md)
