MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / POSTJson

Method POSTJson

dependencies/hueplusplus-1.0.0/src/BaseHttpHandler.cpp:103–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103nlohmann::json BaseHttpHandler::POSTJson(
104 const std::string& uri, const nlohmann::json& body, const std::string& adr, int port) const
105{
106 return nlohmann::json::parse(POSTString(uri, "application/json", body.dump(), adr, port));
107}
108
109nlohmann::json BaseHttpHandler::PUTJson(
110 const std::string& uri, const nlohmann::json& body, const std::string& adr, int port) const

Callers 3

TESTFunction · 0.80
requestUsernameMethod · 0.80
POSTRequestMethod · 0.80

Calls 2

parseFunction · 0.50
dumpMethod · 0.45

Tested by 1

TESTFunction · 0.64