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

Obtient les octets du corps de la requête de l'appel HTTP.

## Syntaxe

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

### Paramètres

*call*   \_In\_\
Type : HCCallHandle

Handle de l'appel HTTP.

*requestBody*   \_Outptr\_\
Type : char\*\*

Corps de la requête encodé en UTF-8 de l'appel HTTP.

### Valeur renvoyée

Type : HRESULT

Code de résultat de cette opération d'API. Les valeurs possibles sont S\_OK, E\_INVALIDARG ou E\_FAIL.

## Configuration requise

**En-tête :** httpProvider.h

**Bibliothèque :** libHttpClient.GDK.lib

## Voir aussi

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


## Related topics

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