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

Obtient l'URL et la méthode de l'appel HTTP.

## Syntaxe

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

### Paramètres

*call*   \_In\_\
Type : HCCallHandle

Handle de l'appel HTTP.

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

Méthode encodée en UTF-8 de l'appel HTTP.

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

URL encodée en UTF-8 de l'appel HTTP.

### Valeur de retour

Type : HRESULT

Code de résultat de cette opération d'API. Les valeurs possibles sont S\_OK, E\_INVALIDARG ou E\_FAIL.

## Configuration requise

**En-tête :** httpProvider.h

**Bibliothèque :** libHttpClient.GDK.lib

## Voir aussi

[httpProvider](/fr/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

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