Reason: CURLOPT_POSTFIELDS implies setting CURLOPT_POST to true. Setting CURLOPT_POST to true implies setting request method to POST.
Needs checking if setting CURLOPT_POSTFIELDS after CURLOPT_CUSTOMREQUEST with CURLOPT_POST already set resets the request method.
Reason:
CURLOPT_POSTFIELDSimplies settingCURLOPT_POSTtotrue. SettingCURLOPT_POSTtotrueimplies setting request method toPOST.Needs checking if setting
CURLOPT_POSTFIELDSafterCURLOPT_CUSTOMREQUESTwithCURLOPT_POSTalready set resets the request method.