Make External HTTP Requests with HttpFactory::getHttp()
Consumes external REST APIs with timeouts, Bearer headers and status checks using Joomla native HTTP client.
<?php
declare(strict_types=1);
use Joomla\CMS\Http\HttpFactory;
$http = HttpFactory::getHttp();
// ...