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

# HCHttpCallRequestGetRequestBodyString

> HCHttpCallRequestGetRequestBodyString

# HCHttpCallRequestGetRequestBodyString

HTTP 呼び出しの要求本文バイトを取得します。

## 構文

```cpp theme={null}
HRESULT HCHttpCallRequestGetRequestBodyString(  
         HCCallHandle call,  
         const char** requestBody  
)  
```

### パラメーター

*call*   \_In\_\
型: HCCallHandle

HTTP 呼び出しのハンドル。

*requestBody*   \_Outptr\_\
型: char\*\*

HTTP 呼び出しの UTF-8 エンコードされた要求本文。

### 戻り値

型: HRESULT

この API 操作の結果コード。取り得る値は S\_OK、E\_INVALIDARG、または E\_FAIL です。

## 要件

**ヘッダー:** httpProvider.h

**ライブラリ:** libHttpClient.GDK.lib

## 関連項目

[httpProvider](/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

- [HCHttpCallRequestSetRequestBodyString](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetrequestbodystring.md)
- [XblHttpCallRequestSetRequestBodyString](/ja-jp/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetrequestbodystring.md)
- [HCHttpCallRequestGetRequestBodyBytes](/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetrequestbodybytes.md)
- [HCHttpCallRequestGetRequestBodyReadFunction](/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetrequestbodyreadfunction.md)
- [HCHttpCallRequestSetRequestBodyReadFunction](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetrequestbodyreadfunction.md)
