API now uses cURL