1public function putGuzzleRequest()
2
3{
4
5 $client = new \GuzzleHttp\Client();
6
7 $url = "http://myexample.com/api/posts/1";
8
9 $myBody['name'] = "Demo";
10
11 $request = $client->put($url, ['body'=>$myBody]);
12
13 $response = $request->send();
14
15
16
17 dd($response);
18
19}
1@foreach($clients as $value)
2 <tr>
3 <td>{{$value["name"]}}</td>
4 <td>{{$value["email"]}}</td>
5 <td>{{$value["number"]}}</td>
6 </tr>
7@endforeach
8