From 69ceb7e730a1fe4e2d0f82c7d29875bd796468ea Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Sat, 16 May 2015 17:12:29 -0700 Subject: Basic controller JSON API seems to be working. --- controller/SqliteNetworkController.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'controller/SqliteNetworkController.hpp') diff --git a/controller/SqliteNetworkController.hpp b/controller/SqliteNetworkController.hpp index a58741b5..5c92cc0b 100644 --- a/controller/SqliteNetworkController.hpp +++ b/controller/SqliteNetworkController.hpp @@ -80,6 +80,14 @@ public: std::string &responseContentType); private: + unsigned int _doCPGet( + const std::vector &path, + const std::map &urlArgs, + const std::map &headers, + const std::string &body, + std::string &responseBody, + std::string &responseContentType); + std::string _dbPath; sqlite3 *_db; -- cgit v1.2.3