i have magento 2 extension that send some data after order processed and in in Order Success Observer i send the data using curl
protected function getCurlClient(): Curl
{
return $this->curl;
}
and i call it like
$this->getCurlClient()->post(self::API_URL, json_encode($someData));
and i want to send the post request asynchronous without waiting for the response