Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update multipart-data.php
  • Loading branch information
robertoarruda authored Apr 21, 2021
commit 4b18dc638bce9019825c29231a7c09aa2bd7b351
14 changes: 7 additions & 7 deletions test/fixtures/output/php/guzzle/multipart-data.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

$response = $client->request('POST', 'http://mockbin.com/har', [
'multipart' => [
[
'name' => 'foo',
'type' => 'text/plain',
'file' => 'hello.txt',
'data' => 'Hello World',
],
],
[
'name' => 'foo',
'type' => 'text/plain',
'file' => 'hello.txt',
'data' => 'Hello World',
]
]
]);

echo $response->getBody();