Basic controller JSON API seems to be working.

This commit is contained in:
Adam Ierymenko 2015-05-16 17:12:29 -07:00
parent cf51961d52
commit 69ceb7e730
5 changed files with 397 additions and 292 deletions

View file

@ -80,6 +80,14 @@ public:
std::string &responseContentType);
private:
unsigned int _doCPGet(
const std::vector<std::string> &path,
const std::map<std::string,std::string> &urlArgs,
const std::map<std::string,std::string> &headers,
const std::string &body,
std::string &responseBody,
std::string &responseContentType);
std::string _dbPath;
sqlite3 *_db;