Skip to content

Conversation

@jianminLee
Copy link

Just add a $files file path array parameter, the file array can be a two-dimensional array, upload file can also support complex array request parameter request.

example:

Requests::post($url,$header,['test' => ['a' => 'b','c' => [1,2,3 => ['cc' => ['vv' => [456,789,321]]]]]],[
        'paid_certificates' => [
            public_path('images/not_found.jpg'),
            public_path('images/abg.jpg'),
            public_path('images/bg.jpg'),
        ],
    ]);

@soulseekah
Copy link
Contributor

Related: #313

Let's make sure we have the same API, please.

@jrfnl jrfnl changed the base branch from stable to develop June 18, 2021 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants