这是一个基于 Playwright 的代理服务,可以帮助你访问需要浏览器环境的网页。它使用真实的 Chromium 浏览器来渲染页面,支持 JavaScript 执行。
通过在 URL 参数中指定目标网址来使用代理服务:
http://localhost:7860/?url=https://example.com
1. 使用 curl 发送 GET 请求:
curl "http://localhost:7860/?url=https://example.com"
2. 发送 POST 请求:
curl -X POST "http://localhost:7860/?url=https://example.com/api" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'