8 lines
303 B
C++
8 lines
303 B
C++
#include <adminive/adapters/httplib.hpp>
|
|
#include <adminive/adapters/nlohmann_json.hpp>
|
|
int main() {
|
|
httplib::Headers headers{{"X-Adminive", "installed"}};
|
|
nlohmann::json value{{"status", 0}, {"transport", "httplib"}};
|
|
return headers.empty() || adminive::dump_json(value).empty() ? 1 : 0;
|
|
}
|