php-proxy
php-proxy copied to clipboard
Simple PHP proxy script
Without this, cURL will send `Expect: 100-continue` on POST/PUT requests which will make the proxy fail. See https://gms.tf/when-curl-sends-100-continue.html
The JSON post requests are not being proxied correctly, getting $_POST when file_get_contents('php://input') should be used.
I try to use this proxy to work around CORS issues. The objective is to implement a "facade" for a given "service". so the facade should set cookies just as...
This is a really nice module, thanks for providing it! As a complete noob I will apologize in advance. I'm curious how I can use this as a browser? I'm...
fixes #15 would this work for other scenarios too?
Thanks for this great script! I don't like changing Proxy.php for settings, for example if I want to hardcode the TARGET_URL. See attached Pull Request.
I can see references to _GET in the code, but only in the debug area. In the curl_init call there is no mention of the GET parameters. In my situation,...
this avoids to modify the code for settings fixes #13
Happens with nested post arrays Refs: https://stackoverflow.com/questions/35000754/array-2-string-conversion-while-using-curlopt-postfields https://gist.github.com/yisraeldov/ec29d520062575c204be7ab71d3ecd2f