Minor change to curl_easy_setopt() options

The code was using CURLOPT_HTTPPOST, which is intended for multipart/formdata. Switched to CURLOPT_POST.