#pragma once #include #include const auto header_application_data = std::make_pair("Content-Type", "application/json"); const auto header_access_control = std::make_pair("Access-Control-Allow-Origin", "*"); class response { public: static void bad_request(std::shared_ptr response); static void bad_request(std::shared_ptr response); static void bad_request(std::shared_ptr response, const json &); static void bad_request(std::shared_ptr response, const json &); static void not_found(std::shared_ptr response); static void not_found(std::shared_ptr response); };