💡 Exemplos Práticos
JavaScript Fetch
fetch('https://proxy.rianfc.duckdns.org/https://api.github.com/users/octocat')
.then(response => response.json())
.then(data => console.log(data));
fetch('https://proxy.rianfc.duckdns.org/https://httpbin.org/headers', {
headers: {
'X-Custom-Header': 'valor'
}
});
fetch('https://proxy.rianfc.duckdns.org/https://httpbin.org/post', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({ message: 'Hello World' })
});
jQuery AJAX
$.ajax({
url: 'https://proxy.rianfc.duckdns.org/https://jsonplaceholder.typicode.com/posts/1',
method: 'GET',
success: function(data) {
console.log(data);
}
});
Python Requests
import requests
response = requests.get('https://proxy.rianfc.duckdns.org/https://api.github.com/users/octocat')
data = response.json()
print(data)
payload = {'key': 'value', 'message': 'Hello from Python'}
response = requests.post(
'https://proxy.rianfc.duckdns.org/https://httpbin.org/post',
json=payload,
headers={'X-Custom-Header': 'Python-Client'}
)
print(response.json())
headers = {
'User-Agent': 'My Python App',
'Authorization': 'Bearer token123'
}
response = requests.get(
'https://proxy.rianfc.duckdns.org/https://api.example.com/data',
headers=headers
)
cURL
curl "https://proxy.rianfc.duckdns.org/https://api.github.com/users/octocat"
curl -X POST "https://proxy.rianfc.duckdns.org/https://httpbin.org/post" \
-H "Content-Type: application/json" \
-d
curl "https://proxy.rianfc.duckdns.org/https://api.example.com/data" \
-H "Authorization: Bearer token123" \
-H "X-Custom-Header: cURL-Client"
📚 Informações Técnicas
Servidor: Node.js v24.8.0
Endereço: https://proxy.rianfc.duckdns.org
Baseado em: cors-anywhere
Documentação: GitHub