I came across:
Are they the same thing? Are these capable of sending POST requests to an external API?
I came across:
Are they the same thing? Are these capable of sending POST requests to an external API?
As you might already figured out, yes its the same and yes thats the way it works...
As described in the manual:
use Joomla\Http\HttpFactory;
// Create an instance of a default Http object.
$http = Http\HttpFactory::getHttp();
// Prepare the update data.
$data = array('make' => 'Holden', model => 'EJ-Special');
// Invoke the GET request.
$response = $http->post('http://api.example.com/cars/1', $data);
HavFun!