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

# HCHttpCallRequestGetUrl

> HCHttpCallRequestGetUrl

# HCHttpCallRequestGetUrl

Gets the url and method for the HTTP call.

## Syntax

```cpp theme={null}
HRESULT HCHttpCallRequestGetUrl(  
         HCCallHandle call,  
         const char** method,  
         const char** url  
)  
```

### Parameters

*call*   \_In\_\
Type: HCCallHandle

The handle of the HTTP call.

*method*   \_Outptr\_\
Type: char\*\*

UTF-8 encoded method for the HTTP call.

*url*   \_Outptr\_\
Type: char\*\*

UTF-8 encoded URL for 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](/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

- [HCHttpCallGetRequestUrl](/reference/live/httpclient/httpclient/functions/hchttpcallgetrequesturl.md)
- [XblHttpCallGetRequestUrl](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetrequesturl.md)
- [HCHttpCallRequestSetUrl](/reference/live/httpclient/httpclient/functions/hchttpcallrequestseturl.md)
- [HCHttpCallRequestGetTimeout](/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgettimeout.md)
- [HCHttpCallRequestGetHeader](/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetheader.md)
