docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
utils_curl.h File Reference
#include <curl/curl.h>
#include <string>

Go to the source code of this file.

Classes

struct  HttpResult

Functions

HttpResult post_json (CURL *curl, const std::string &url, const std::string &json_payload, struct curl_slist *headers=nullptr)

Function Documentation

◆ post_json()

HttpResult post_json ( CURL * curl,
const std::string & url,
const std::string & json_payload,
struct curl_slist * headers = nullptr )