memgraph/api/resources/ping.hpp
2016-03-05 10:10:57 +01:00

16 lines
269 B
C++

#pragma once
#include "api/restful/resource.hpp"
#pragma url /ping
class Ping : public Resource<Ping, GET>
{
public:
using Resource::Resource;
void get(sp::Request& req, sp::Response& res)
{
return res.send(http::Status::NoContent, "");
}
};