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

# XblHttpCallGetRequestUrl

> XblHttpCallGetRequestUrl

# XblHttpCallGetRequestUrl

Gets the request url for the HTTP call.

## Syntax

```cpp theme={null}
HRESULT XblHttpCallGetRequestUrl(  
         XblHttpCallHandle call,  
         const char** url  
)  
```

### Parameters

*call*   \_In\_\
Type: [XblHttpCallHandle](/reference/live/xsapi-c/http_call_c/handles/xblhttpcallhandle)

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 XblHttpCallHandle object until XblHttpCallCloseHandle() is called on it.

### Return value

Type: HRESULT

Result code for this API operation.

## Requirements

**Header:** http\_call\_c.h

**Library:** Microsoft.Xbox.Services.14x.GDK.C.lib

## See also

[http\_call\_c](/reference/live/xsapi-c/http_call_c/http_call_c_members)


## Related topics

- [HCHttpCallGetRequestUrl](/reference/live/httpclient/httpclient/functions/hchttpcallgetrequesturl.md)
- [HCHttpCallRequestGetUrl](/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgeturl.md)
- [HCHttpCallRequestSetUrl](/reference/live/httpclient/httpclient/functions/hchttpcallrequestseturl.md)
- [XblHttpCallRequestSetLongHttpCall](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetlonghttpcall.md)
- [XblHttpCallRequestSetHeader](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallrequestsetheader.md)
