# Protocolos

### HTTP

Nuestra documentación incluye ejemplos de código que muestran cómo conectarse a los Proxies usando `HTTP` protocolo. El protocolo es compatible con bibliotecas comunes y software de terceros.

### HTTPS

También puedes usar la conexión totalmente cifrada al proxy usando `HTTPS` el protocolo. Para ello, debes añadir `https://` a tu punto de entrada del proxy. Por ejemplo: `https://dc.oxylabs.io:8000`

<pre class="language-sh"><code class="lang-sh"><strong>curl -x https://dc.oxylabs.io:8000 -U user-USERNAME:PASSWORD https://ip.oxylabs.io/location 
</strong></code></pre>

### SOCKS5

El protocolo SOCKS5 admite ambos `TCP` y `UDP` conexiones.

Para usar `SOCKS5` protocolo, tienes que añadir `socks5h://` a tu punto de entrada del proxy. Por ejemplo: `socks5h://dc.oxylabs.io:8000`

```bash
curl -x socks5h://dc.oxylabs.io:8000 -U user-USERNAME:PASSWORD https://ip.oxylabs.io/location
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.oxylabs.io/products/es/proxies/datacenter-proxies/protocols.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
