A simple service that copies headers from incoming requests and forwards them to a specified URL.
Make requests to the /proxy endpoint with a url query parameter:
GET /proxy?url=https://example.com
curl -X GET "https://your-project.pages.dev/proxy?url=https://example.com"
curl -X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-token" \
-d '{"key": "value"}' \
"https://your-project.pages.dev/proxy?url=https://api.example.com/data"
curl "https://your-project.pages.dev/proxy?url=https://api.example.com/search&q=test&page=1"
View the GitHub repository for more details.