8p / EightPointsGuzzleBundle

⛽️ Integrates Guzzle 6.x, a PHP HTTP Client, into Symfony
MIT License
440 stars 71 forks source link

Params in header #101

Closed pasqualepalmaccio closed 7 years ago

pasqualepalmaccio commented 7 years ago

Hi, i want to set some params in header like api_key or a payload but i'm not able to do it. Is it possible to set in header node ( in config.yml) some params to request headers ?

Neirda24 commented 7 years ago

@pasqualepalmaccio : I had the same issue. Here is my quick fix: https://packagist.org/packages/neirda24/8p-guzzle-token

florianpreusner commented 7 years ago

Issue solved by PR https://github.com/8p/GuzzleBundle/pull/111