Skip to content
Merged
Changes from all commits
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
3 changes: 2 additions & 1 deletion docs/uploading.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Uploading from a URL is slightly different in that you don't need to use the `up

```php
$options = [
'AllowInsecure' => true,
'Uri' => 'http://example.com/img/image.png',
'Cookie' => 'foo',
'Title' => 'Example.com Photo',
Expand All @@ -48,7 +49,7 @@ $options = [
$response = $client->post('album/r4nD0m!uploadfromuri', $options);
```

`Uri` (the source of the image) and `Cookie` (a string to send as the value of a Cookie header when fetching the source URI) are required options.
`Uri` (the source of the image) and `Cookie` (a string to send as the value of a Cookie header when fetching the source URI) are required options. `AllowInsecure` is required and must be set to _true_ if the `Uri` is insecure.


# Replacing Images
Expand Down