Fixed bug introduced in last commit, CURLOPT_POST flag must be set to true