Questions tagged [guzzle6]
337 questions
-1
votes
1 answer
how to get auth in guzzle response and send to view
I am confused how to retrieve authentication details like username and password as my guzzle api is receiving only success message and code at the time of login. I am not able to make session. Please explain how I can get authentication details in…

Abdul Kaleem
- 31
- 9
-1
votes
1 answer
How can I access the variable "verify" from following instance?
I have the response of instance I wanted to access the specific variable
I tried different combinations, using the arrow operator.
Client {#445 ▼
-httpClient: Client {#460 ▼
-client: Client {#469 ▼
-config: array:7 [▼
"handler" =>…

Kapil Verma
- 178
- 3
- 17
-1
votes
1 answer
How to use TLS1.2 in Guzzle v6
Until now I created the client by simply:
$this->guzzle = new Client(['timeout' => 5, 'base_uri' => $uri]);
The client talks to a HTTPS endpoint. How to tell Guzzle to use TLS1.2?

Mike Doe
- 16,349
- 11
- 65
- 88
-1
votes
3 answers
Laravel guzzle issue
)
I have issue with Laravel 5.2 and Guzzle 6.3
This is my code for sending POST to URL
$client = new Client();
$result = $client->post('https://marketing.webbera.co.uk/form/2', [
'form_params' => [
…

Josh Miller
- 1
- 1
- 1
-1
votes
1 answer
How to save implode results in array correctly?
My data_array like this :
Array (
[0] => 1
[1] => 2
[2] => 3 )
My code like this :
public function test(Request $request)
{
$client = new GuzzleHttpClient();
...
$concat_data = implode(',', $data_array);
$result =…

moses toh
- 12,344
- 71
- 243
- 443
-1
votes
1 answer
Pass array in post request using Guzzle
I am trying to pass array in post request payload.
url = http://IP:PortNo/index.php/v1/login
payload:
data={ "terminal_id": "terminal_id", "api_login": "api_login", "api_key": "api_key", "merchant_code": "merchant_code" }
what i did is:
$data =…

Faiz
- 51
- 3
- 12
-2
votes
1 answer
How to login into an application with login credentials using guzzlehttp?
How to login into an application with login credentials using guzzlehttp ? Thanks in advance.

Priya
- 1
- 3