Done the database accessing with libcurl. The next step is to parse the result with lib-jsoncpp.