changed cli
This commit is contained in:
@@ -77,6 +77,7 @@ void OutputRequestHandler::handleRequest(HTTPServerRequest &request,
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
boost::optional<Poco::JSON::Object> json_response = parseRequest(item_type, item_name, action, score);
|
boost::optional<Poco::JSON::Object> json_response = parseRequest(item_type, item_name, action, score);
|
||||||
|
json_response->stringify(std::cout);
|
||||||
if(json_response)
|
if(json_response)
|
||||||
{
|
{
|
||||||
std::ostream& ostr = response.send();
|
std::ostream& ostr = response.send();
|
||||||
|
|||||||
Reference in New Issue
Block a user