is there a way to automatically have a Guzzle Service Descriptor field, take an array, and it’ll parse it to a comma list? Data Array [ “test”, “another test” ] Service Descriptors The field is the id under parameters, I’d like to provide the raw php array of strings to that, and have Guzzle automatically convert that to a comma
Tag: guzzle
Building query string programmatically in Guzzle?
In my PHP Guzzle client code, I have something like but instead I want to have something like: Is it possible in Guzzle? From the documentation and random googling it would seem it is, but I can’t find exactly how. Answer Guzzle 6 – you could use query option param http://docs.guzzlephp.org/en/stable/request-options.html#query