Welcome to client01.longtailux.net.
Last login: Mon Jun 17 02:24:08 2019 from 60.241.25.182
todd@client01:~$ curl -v https://api.adorebeauty.com.au/api/nav 2>&1 | less^C
todd@client01:~$ cd /opt/projects/longtailux-clients/current
todd@client01:/opt/projects/longtailux-clients/current$ php artisan tinker
Psy Shell v0.7.2 (PHP 7.2.19-0ubuntu0.18.04.1 — cli) by Justin Hileman
>>> $nav_menu_json = 'https://api.adorebeauty.com.au/api/nav';
=> "https://api.adorebeauty.com.au/api/nav"
>>> $ch = curl_init();
=> curl resource #308
>>> curl_setopt($ch, CURLOPT_URL, $nav_menu_json);
=> true
>>> curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
=> true
>>> curl_setopt($ch, CURLOPT_TIMEOUT, 3);
=> true
>>> $output = curl_exec($ch);
=> """
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n
<html><head>\n
<title>403 Forbidden</title>\n
</head><body>\n
<h1>Forbidden</h1>\n
<p>You don't have permission to access /api/nav\n
on this server.<br />\n
</p>\n
</body></html>\n
"""
>>> todd@client01:~$ curl -v https://api.adorebeauty.com.au/api/nav 2>&1 | less^C
>>> curl_setopt($ch, CURLOPT_URL, $nav_menu_json);
=> true
>>> curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
=> true
>>> curl_setopt($ch, CURLOPT_TIMEOUT, 3);
=> true
>>> $output = curl_exec($ch);
=> """
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n
<html><head>\n
<title>403 Forbidden</title>\n
</head><body>\n
<h1>Forbidden</h1>\n
<p>You don't have permission to access /api/nav\n
on this server.<br />\n
</p>\n
</body></html>\n
"""
>>>