|
|
@ -297,7 +297,6 @@ std::optional<std::string> launchpad::api_post(
|
|
|
|
if (!post_fields.empty()) {
|
|
|
|
if (!post_fields.empty()) {
|
|
|
|
post_fields.pop_back();
|
|
|
|
post_fields.pop_back();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
std::cout << url << std::endl;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
|
|
|
|
curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
|
|
|
|
curl_easy_setopt(curl, CURLOPT_POST, 1L);
|
|
|
|
curl_easy_setopt(curl, CURLOPT_POST, 1L);
|
|
|
|