#ifndef BOT_HTTP_HTTPHELPER #define BOT_HTTP_HTTPHELPER #include #include class HTTPHelper { public: std::string post_request(std::string url, std::string content_type, std::string data, long *response_code); private: static size_t write_callback(void *contents, size_t size, size_t nmemb, void *userp); }; #endif