3
I need to consume an api, the passing of the parameters is done this way:
https://api.typeform.com/v1/form/[typeform_UID]? key=[your_API_key]
I’m using the guzzle to make the requisition.
I am instantiating the client with the base url of this form:
$client = new Client(['base_url' => 'https://api.typeform.com/v1']);
I wanted to pass the parameters "/form"
, "[typeform_UID]?key=[your_API_key]"
, using the $client->get()
. If I use the get(query=>[])
guzzle it does not form the url the way I would like it.
Does anyone know any way to do this by using the Client
with base_url
?
Which version of Guzzle did you install?
– Wallace Maxters