Skip to content

upload file proxy invalid #81

@wuxue107

Description

@wuxue107

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions