I came across two methods for making a CURL call in Magento 2.
Paypal uses the First one as a factory Method to make its NVP cUrl calls and the later one is used by Magento’s setup model PackagesAuth class. A few blogs also recommend to use the second one to make our custom cUrl calls.
Which is the recommended method to use?
What is the Difference between these two methods?