Get Json file from laravel controller

Solution:

Your question seems a bit unclear, but from what I can understand you want to get the JSON output from http://xxx.xxx.xx.xx/myproject/public/send and print it in your PHP code.

An easy way to do this is to use GuzzleHttp.

Example:

$client = new \GuzzleHttp\Client();
$result = $client->request('GET', 'http://xxx.xxx.xx.xx/myproject/public/send');
echo $result->getBody();