mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
* Zone sidecar work * Process management work * Merge * Sidecar work * API config option * Request proxy work * Proxy headers and params * Change port * Remove code * Sim work * Sidecar work * Update loot_simulator_controller.cpp * Update loot_simulator_controller.cpp * Formatting * Post merge change * Windows compile fix * Update sidecar_api.cpp * Update strings.cpp
11 lines
213 B
C++
11 lines
213 B
C++
#include "sidecar_api.h"
|
|
|
|
void SidecarApi::TestController(const httplib::Request &req, httplib::Response &res)
|
|
{
|
|
nlohmann::json j;
|
|
|
|
j["data"]["test"] = "test";
|
|
|
|
res.set_content(j.dump(), "application/json");
|
|
}
|