Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Set the request body string of the HTTP call.
Syntax
HRESULT XblHttpCallRequestSetRequestBodyString(
XblHttpCallHandle call,
const char* requestBodyString
)
Parameters
call _In_
Type: XblHttpCallHandle
The handle of the HTTP call.
requestBodyString _In_z_
Type: char*
The UTF-8 encoded request body string of the HTTP call.
Return value
Type: HRESULT
Result code for this API operation. Possible values are S_OK, E_INVALIDARG, E_OUTOFMEMORY, or E_FAIL.
Remarks
This must be called prior to calling XblHttpCallPerformAsync.
Requirements
Header: http_call_c.h
Library: Microsoft.Xbox.Services.14x.GDK.C.lib