-
Notifications
You must be signed in to change notification settings - Fork 268
Open
Description
http://xxxx/aaa
$request = ServerRequestFactory::fromGlobals(); $guzzle = new \GuzzleHttp\Client(); $proxy = new Proxy(new GuzzleAdapter($guzzle)); $response = $proxy->forward($request)->to('http://yyyy');
action code in http://yyyy/aaa
var_dump($_GET,$_FILES);
curl -F "media=@a.png" "http://xxxx/aaa?type=image"
result:
array(1) {
["type"]=>
string(5) "image"
}
array(0) {
}
Metadata
Metadata
Assignees
Labels
No labels