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

HTTP 호출의 응답 본문 문자열을 가져옵니다.

## 구문

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

### 매개 변수

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

HTTP 호출의 핸들입니다.

*responseString*   \_Out\_\
형식: char\*\*

HTTP 호출의 UTF-8 인코딩된 응답 본문 문자열입니다. 반환된 문자열 포인터의 메모리는 XblHttpCallCloseHandle()이 호출될 때까지 XblHttpCallHandle 개체의 수명 동안 유효합니다.

### 반환값

형식: HRESULT

이 API 작업의 결과 코드입니다. 가능한 값은 S\_OK, E\_INVALIDARG 또는 E\_FAIL입니다.

## 설명

이는 HTTP 작업이 완료된 후에 [XblHttpCallPerformAsync](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync)를 호출한 후에만 호출할 수 있습니다. 이는 PerformAsync에 전달된 responsetype이 String인 경우에만 유효합니다.

## 요구 사항

**헤더:** http\_call\_c.h

**라이브러리:** Microsoft.Xbox.Services.14x.GDK.C.lib

## 참고 항목

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


## Related topics

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