Download attachments
This commit is contained in:
15
ui/setup/setups/02_client.php
Normal file
15
ui/setup/setups/02_client.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
use Psr\Container\ContainerInterface;
|
||||
|
||||
return [
|
||||
Psr\Http\Client\ClientInterface::class => function(ContainerInterface $container) {
|
||||
return new GuzzleHttp\Client([
|
||||
'base_uri' => "http://proxy:8080",
|
||||
'headers' => [
|
||||
'Authorization' => [
|
||||
"Bearer {$container->get('api_key')}"
|
||||
]
|
||||
]
|
||||
]);
|
||||
}
|
||||
];
|
Reference in New Issue
Block a user