๐ PHP HTTP/HTTPS Proxy Server
โ
Server Status: Running on http://localhost:8000
๐งช Test Interface
Interactive web interface to test the proxy functionality with different HTTP methods and endpoints.
Open Test Interface
๐ Basic Proxy (proxy.php)
Simple proxy implementation for basic HTTP/HTTPS forwarding.
GET /proxy.php?path=/endpoint
POST /proxy.php?path=/users
Test Basic Proxy
โก Enhanced Proxy (enhanced_proxy.php)
Advanced proxy with configuration support, security features, and better error handling.
GET /enhanced_proxy.php?path=/endpoint
POST /enhanced_proxy.php?target=https://api.example.com&path=/data
Test Enhanced Proxy
โ๏ธ Configuration
Current proxy configuration:
Default Target: https://nest-serverless-verc-k8rqgibno-pa1iots-projects.vercel.app/api
Timeout: 30s
CORS Enabled: Yes
SSL Verify: No
๐ Usage Examples
JavaScript/Fetch:
fetch('./enhanced_proxy.php?path=/users')
.then(response => response.json())
.then(data => console.log(data));
cURL:
curl "http://localhost:8000/enhanced_proxy.php?path=/users"
๐ Project Files
Available files in this proxy server:
- proxy.php - Basic proxy implementation
- enhanced_proxy.php - Advanced proxy with configuration
- config.php - Configuration file
- test.html - Interactive test interface
- README.md - Documentation
๐ Default Target: https://nest-serverless-verc-k8rqgibno-pa1iots-projects.vercel.app/api