Cloudflare Proxy

부분 유료
분류별 ruzumaki | 업데이트됨 לפני חודש | Data
인기

8.6 / 10

지연 시간

6,670ms

서비스 수준

91%

Health Check

N/A

모든 자습서로 돌아가기 (4)

Use Case - Query cloudflare guarded websocket / socket.io via axios

const axios = require('axios');

const options = {
  method: 'POST',
  url: 'https://cloudflare-proxy1.p.rapidapi.com/',
  params: {
    url: 'wss://ws.dex.guru/v1/ws/channels'
  },
  headers: {
    'content-type': 'application/json',
    origin: 'dex.guru',
    'X-RapidAPI-Key': 'Your Own RapidAPI Key',
    'X-RapidAPI-Host': 'cloudflare-proxy1.p.rapidapi.com'
  },
  data: {}
};

try {
	const response = await axios.request(options);
	console.log(response.data);
} catch (error) {
	console.error(error);
}