title: Laravel how to send requests to an elasticsearch node?
body: <p>I'm trying to send request from my laravel application to my elasticsearch node to get an index but the application return <strong>Elasticsearch \ Common \ Exceptions \ Forbidden403Exception (403)</strong></p>
  
  <p>This is my php code: </p>
  
  <pre><code>$client = ClientBuilder::create()-&gt;build();
  $params = ['index' =&gt;'$message'];
  $response = $client-&gt;indices()-&gt;getSettings($params);
  print_r($response);
  </code></pre>