This commit is contained in:
Ahmad Nassri
2015-01-14 20:06:10 -05:00
parent 1ad47092de
commit d188bcbd15

View File

@@ -87,7 +87,7 @@ $response->raw_body; // Unparsed body
### File Uploads ### File Uploads
To upload files in a multipart form representation use the return value of `Unirest::file($path)` as the value of a parameter: To upload files in a multipart form representation use the return value of `Unirest\File::add($path)` as the value of a parameter:
```php ```php
$headers = array("Accept" => "application/json"); $headers = array("Accept" => "application/json");