Skip to content

Replacing cUrl with Http Client.

Currently, ElasticSearch Results are fetched using cUrl.

We have to replace the cUrl with CakePHP Http Client to make it more object-oriented.

Reference: https://book.cakephp.org/3/en/core-libraries/httpclient.html