diff --git a/include/transport/HTTPRequest.h b/include/transport/HTTPRequest.h index 313dff2b0695f01cedc50e595996936148441fa4..f655a62644fb14830ebdcd8e5796b6d0de837233 100644 --- a/include/transport/HTTPRequest.h +++ b/include/transport/HTTPRequest.h @@ -32,6 +32,9 @@ class HTTPRequest : public Thread { bool execute(); bool execute(rapidjson::Document &json); std::string getError() {return std::string(curl_errorbuffer);} + const std::string &getRawData() { + return m_data; + } void run(); void finalize();