Skip to main content
Gets the request url for the HTTP call.

Syntax

Parameters

call   _In_
Type: HCCallHandle
The handle of the HTTP call. url   _Outptr_result_z_
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.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

httpClient
Last modified on October 30, 2026