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

Obtém a URL e o método da chamada HTTP.

## Sintaxe

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

### Parâmetros

*call*   \_In\_\
Tipo: HCCallHandle

O identificador da chamada HTTP.

*method*   \_Outptr\_\
Tipo: char\*\*

Método codificado em UTF-8 para a chamada HTTP.

*url*   \_Outptr\_\
Tipo: char\*\*

URL codificada em UTF-8 para a chamada HTTP.

### Valor retornado

Tipo: HRESULT

Código de resultado desta operação de API. Os valores possíveis são S\_OK, E\_INVALIDARG ou E\_FAIL.

## Requisitos

**Cabeçalho:** httpProvider.h

**Biblioteca:** libHttpClient.GDK.lib

## Confira também

[httpProvider](/pt-BR/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

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