Toast/TriviaBot/bot/http/HTTPHelper.hpp

13 lines
301 B
C++
Raw Normal View History

#ifndef BOT_HTTP_HTTPHELPER
#define BOT_HTTP_HTTPHELPER
2016-07-05 00:51:53 +01:00
#include <iostream>
#include <curl/curl.h>
namespace HTTP {
std::string post_request(std::string url, std::string content_type, std::string data, long *response_code);
std::string get_request(std::string url, long *response_code);
}
#endif