Task: PHP HTTP Request Forwarding/Proxy
Task: PHP HTTP Request Forwarding/Proxy: a task in Terminal-Lego-15k (Harbor dataset). Create a PHP script that acts as a proxy to forward incoming HTTP requests from one server to another. The script should clone the complete HTTP request (including headers, body, query parameters, and request…
The task
Create a PHP script that acts as a proxy to forward incoming HTTP requests from one server to another. The script should clone the complete HTTP request (including headers, body, query parameters, and request method) and forward it to a target server, then return the response from the target server to the original…
Part of PrimeIntellect/Terminal-Lego-15k.