Guzzle always convert all my headers to lowercase

  curl, guzzle, php, php-curl

I have a script that uses guzzle to make an API call. The api server checks for headers and it is case sensitive. I tested the same request with cURL and it works perfectly. Is there a way I can rectify this in the guzzle php library, thanks in advance.

Source: Ask PHP

LEAVE A COMMENT