Is CURLOPTS_POST a valid Curl option?
Even though setting CURLOPTS_POST to TRUE does in fact initiate a POST request, I notice that the option is undocumented. Should we refrain from using it, opting instead to set CURLOPT_CUSTOMREQUEST to POST?
Even though setting CURLOPTS_POST to TRUE does in fact initiate a POST request, I notice that the option is undocumented. Should we refrain from using it, opting instead to set CURLOPT_CUSTOMREQUEST to POST?
No comments:
Post a Comment