forked from wallabag/wallabag
First test on PocketImport
Giving ability to define the Client add abitliy to easliy test the import.
This commit is contained in:
@ -6,3 +6,14 @@ services:
|
||||
- "@session"
|
||||
- "@doctrine.orm.entity_manager"
|
||||
- %pocket_consumer_key%
|
||||
calls:
|
||||
- [ setClient, [ "@wallabag_import.pocket.client" ] ]
|
||||
|
||||
wallabag_import.pocket.client:
|
||||
class: GuzzleHttp\Client
|
||||
arguments:
|
||||
-
|
||||
defaults:
|
||||
headers:
|
||||
content-type: "application/json"
|
||||
X-Accept: "application/json"
|
||||
|
||||
Reference in New Issue
Block a user