# Protocolos

### HTTP

Nossa documentação inclui exemplos de código que mostram como se conectar aos Proxies usando `HTTP` protocolo. O protocolo é suportado por bibliotecas comuns e software de terceiros.

### HTTPS

Você também pode usar a conexão totalmente criptografada com o proxy usando `HTTPS` o protocolo. Para isso, você precisa adicionar `https://` ao seu ponto de entrada do proxy. Por exemplo: `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

O protocolo SOCKS5 suporta ambas as `TCP` e `UDP` conexões.

Para usar o `SOCKS5` protocolo, você precisa adicionar `socks5h://` ao seu ponto de entrada do proxy. Por exemplo: `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/pt-br/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.
