From cd088c722678e26c81c71ada468604ba2834a8a0 Mon Sep 17 00:00:00 2001 From: Vlad Date: Fri, 17 Nov 2017 09:56:57 +0200 Subject: [PATCH] Add comments in config for eightpoints/guzzle-bundle --- .../7.0/config/packages/eight_points_guzzle.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eightpoints/guzzle-bundle/7.0/config/packages/eight_points_guzzle.yaml b/eightpoints/guzzle-bundle/7.0/config/packages/eight_points_guzzle.yaml index baaf6851..7e294038 100644 --- a/eightpoints/guzzle-bundle/7.0/config/packages/eight_points_guzzle.yaml +++ b/eightpoints/guzzle-bundle/7.0/config/packages/eight_points_guzzle.yaml @@ -1,11 +1,13 @@ eight_points_guzzle: clients: - api_payment: - base_url: "http://api.domain.tld" + my_client: + base_url: "http://target.url" options: timeout: 30 + # Configure headers. Ex: what do you accept as response (application/json, text/html, etc..) + # More info: http://docs.guzzlephp.org/en/stable/request-options.html#headers headers: Accept: "application/json"