Framework update.

This commit is contained in:
stephb9959
2022-05-12 08:49:58 -07:00
parent 1ba4bda798
commit db9a184014
3 changed files with 7 additions and 9 deletions

View File

@@ -4389,7 +4389,7 @@ namespace OpenWifi {
Path,
Poco::Net::HTTPMessage::HTTP_1_1);
Poco::Logger::get("REST-CALLER-GET").information(fmt::format(" {}", URI.toString()));
Poco::Logger::get("REST-CALLER-GET").debug(fmt::format(" {}", URI.toString()));
if(BearerToken.empty()) {
Request.add("X-API-KEY", Svc.AccessKey);
@@ -4441,14 +4441,13 @@ namespace OpenWifi {
for(auto const &Svc:Services) {
Poco::URI URI(Svc.PrivateEndPoint);
auto Secure = (URI.getScheme() == "https");
URI.setPath(EndPoint_);
for (const auto &qp : QueryData_)
URI.addQueryParameter(qp.first, qp.second);
Poco::Logger::get("REST-CALLER-PUT").information(fmt::format("{}", URI.toString()));
Poco::Logger::get("REST-CALLER-PUT").debug(fmt::format("{}", URI.toString()));
std::string Path(URI.getPathAndQuery());
@@ -4527,7 +4526,7 @@ namespace OpenWifi {
for (const auto &qp : QueryData_)
URI.addQueryParameter(qp.first, qp.second);
Poco::Logger::get("REST-CALLER-POST").information(fmt::format(" {}", URI.toString()));
Poco::Logger::get("REST-CALLER-POST").debug(fmt::format(" {}", URI.toString()));
std::string Path(URI.getPathAndQuery());
@@ -4603,7 +4602,7 @@ namespace OpenWifi {
for (const auto &qp : QueryData_)
URI.addQueryParameter(qp.first, qp.second);
Poco::Logger::get("REST-CALLER-DELETE").information(fmt::format(" {}", URI.toString()));
Poco::Logger::get("REST-CALLER-DELETE").debug(fmt::format(" {}", URI.toString()));
std::string Path(URI.getPathAndQuery());