HCHttpCallGetRequestUrl

Gets the request url for the HTTP call.

Syntax

HRESULT HCHttpCallGetRequestUrl(  
         HCCallHandle call,  
         const char** url  
)  

Parameters

call   _In_
Type: HCCallHandle

The handle of the HTTP call.

url   _Out_
Type: char**

The UTF-8 encoded url body string of the HTTP call. The memory for the returned string pointer remains valid for the life of the HCCallHandle object until HCHttpCallCloseHandle() is called on it.

Return value

Type: HRESULT

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

Requirements

Header: httpClient.h

Library: libHttpClient.141.GSDK.C.lib

See also

httpClient