Panduan Integrasi
Integrasi Cepat (Quickstart)
Contoh implementasi proxy gateway JARSVERSE pada baris perintah dan bahasa pemrograman populer.
Parameter Koneksi Gateway
Host:app.jarsverse.com
Port:8085
Auth:HTTP Basic Auth
Protokol:HTTP & CONNECT
cURL (Command Line)
curl -x http://your_username:[email protected]:8085 \
-L "https://api.ipify.org?format=json"Python (Requests)
import requests
proxies = {
"http": "http://your_username:[email protected]:8085",
"https": "http://your_username:[email protected]:8085",
}
response = requests.get("https://api.ipify.org?format=json", proxies=proxies, timeout=10)
print(response.json())Node.js (Axios + https-proxy-agent)
const axios = require('axios');
const { HttpsProxyAgent } = require('https-proxy-agent');
const agent = new HttpsProxyAgent('http://your_username:[email protected]:8085');
axios.get('https://api.ipify.org?format=json', { httpsAgent: agent })
.then(res => console.log(res.data))
.catch(err => console.error(err));