proper POST request to curl

This commit is contained in:
Alug committed 2024-02-09 10:19:35 +01:00
1 parent badbdbf03f
commit e121d1a8a1
1 file changed
+2 -1
+2 -1
View File
@@ -339,7 +339,8 @@ HMS_unlist (void)
if (! hms)
return 0;
curl_easy_setopt(hms->curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hms->curl, CURLOPT_POST, 1);
curl_easy_setopt(hms->curl, CURLOPT_POSTFIELDSIZE, 0);
ok = HMS_do(hms);
HMS_end(hms);