stephb9959
2023-10-03 21:52:56 -07:00
parent 7dd33ca841
commit 69e507a5bd
10 changed files with 120 additions and 50 deletions

View File

@@ -14,6 +14,7 @@ namespace OpenWifi {
bool Internal)
: RESTAPIHandler(bindings, L,
std::vector<std::string>{Poco::Net::HTTPRequest::HTTP_GET,
Poco::Net::HTTPRequest::HTTP_PUT,
Poco::Net::HTTPRequest::HTTP_OPTIONS},
Server, TransactionId, Internal) {}
static auto PathName() { return std::list<std::string>{"/api/v1/RADIUSEndPoints"}; };
@@ -23,7 +24,7 @@ namespace OpenWifi {
RadiusEndpointDB &DB_ = StorageService()->RadiusEndpointDB();
void DoGet() final;
void DoPost() final{};
void DoPut() final{};
void DoPut() final;
void DoDelete() final{};
};
} // namespace OpenWifi