Web Scraping Service
웹 페이지를 가져오는 HTTP 클라이언트 마이크로서비스입니다.
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /web/get | HTTP GET 요청 프록시 (httpx) |
| POST | /web/post | HTTP POST 요청 프록시 (httpx) |
| GET | /web/browser | UC 모드 브라우저 렌더링 |
| POST | /web/browser | UC 모드 브라우저 POST |
| GET | /web/screenshot | 스크린샷 캡처 |
| GET | /web/ninja | CloudFlare 우회 GET |
| POST | /web/ninja | CloudFlare 우회 POST |
사용 예시
# 일반 HTTP GET
curl -H 'apikey: YOUR_KEY' \
'https://api.codesand.co.kr/web/get?url=https://example.com'
# 브라우저 렌더링 (JS 실행)
curl -H 'apikey: YOUR_KEY' \
'https://api.codesand.co.kr/web/browser?url=https://example.com'
# CloudFlare 우회
curl -H 'apikey: YOUR_KEY' \
'https://api.codesand.co.kr/web/ninja?url=https://example.com'
# 스크린샷
curl -H 'apikey: YOUR_KEY' \
'https://api.codesand.co.kr/web/screenshot?url=https://example.com'