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

# XblHttpCallRequestSetRequestBodyString

> XblHttpCallRequestSetRequestBodyString

# XblHttpCallRequestSetRequestBodyString

HTTP 呼び出しのリクエスト本文の文字列を設定します。

## 構文

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

### パラメーター

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

HTTP 呼び出しのハンドル。

*requestBodyString*   \_In\_z\_\
型: char\*

HTTP 呼び出しの UTF-8 エンコードされたリクエスト本文の文字列。

### 戻り値

型: HRESULT

この API 操作の結果コード。有効な値は S\_OK、E\_INVALIDARG、E\_OUTOFMEMORY、または E\_FAIL です。

## 解説

これは、[XblHttpCallPerformAsync](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync) を呼び出す前に呼び出す必要があります。

## 要件

**ヘッダー:** 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

- [HCHttpCallRequestSetRequestBodyString](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetrequestbodystring.md)
- [XblHttpCallRequestSetRequestBodyBytes](/ja-jp/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetrequestbodybytes.md)
- [HCHttpCallRequestGetRequestBodyString](/ja-jp/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetrequestbodystring.md)
- [HCHttpCallRequestSetRequestBodyReadFunction](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetrequestbodyreadfunction.md)
- [HCHttpCallRequestSetRequestBodyBytes](/ja-jp/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetrequestbodybytes.md)
