cURL faster than file_get_contents in PHP

Nowadays the most common way to pass data between systems is making calls to REST APIs. In PHP there are several way to call an API, most common being cURL and file_get_contents(). These might seem equivalent, but has noticeably difference the biggest being the speed. file_get_contents() Method cURL Supports simple HTTP GET and HTTP POST […]