From 03a1a5b66037df5df46a7beba980a4931f38f1a3 Mon Sep 17 00:00:00 2001 From: Naveen Date: Mon, 23 Nov 2015 10:14:14 +0000 Subject: Remove cout --- src/Api.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/Api.cpp b/src/Api.cpp index 2e3af45..d4a1c69 100644 --- a/src/Api.cpp +++ b/src/Api.cpp @@ -262,14 +262,11 @@ ptree Api::sendRequest(const string& method, const vector& args) con url += "/"; url += method; - std::cout << "URL: " << url << std::endl; string serverResponse = HttpClient::getInstance().makeRequest(url, args); if (serverResponse.find("") != serverResponse.npos) { throw TgException("tgbot-cpp library have got html page instead of json response. Maybe you entered wrong bot token."); } - std::cout << "Server Response: " << serverResponse << std::endl; - ptree result = TgTypeParser::getInstance().parseJson(serverResponse); try { if (result.get("ok", false)) { -- cgit v1.2.3