cancel
Showing results for 
Search instead for 
Did you mean: 

how to post async via curl

how to post async via curl

i have an extension which send me some data in order success observer via curl 

protected function getCurlClient(): Curl
    {
        return $this->curl;
    }

and then i call it 

$this->getCurlClient()->post(self::API_URL, json_encode(SomeData));

and currently the post request is sync and i want to make it async