Basic controller JSON API seems to be working.
This commit is contained in:
parent
cf51961d52
commit
69ceb7e730
5 changed files with 397 additions and 292 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue