Partager via


HCHttpCallRequestGetRequestBodyString

Get the request body bytes of the HTTP call.

Syntax

HRESULT HCHttpCallRequestGetRequestBodyString(  
         HCCallHandle call,  
         const char** requestBody  
)  

Parameters

call   _In_
Type: HCCallHandle

The handle of the HTTP call.

requestBody   _Outptr_
Type: char**

The UTF-8 encoded request body of the HTTP call.

Return value

Type: HRESULT

Result code for this API operation. Possible values are S_OK, E_INVALIDARG, or E_FAIL.

Requirements

Header: httpProvider.h

Library: libHttpClient.GDK.lib

See also

httpProvider