mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-11-20 12:04:54 +00:00
Initial
This commit is contained in:
16
src/RESTAPI_unknownRequestHandler.cpp
Normal file
16
src/RESTAPI_unknownRequestHandler.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// License type: BSD 3-Clause License
|
||||
// License copy: https://github.com/Telecominfraproject/wlan-cloud-ucentralgw/blob/master/LICENSE
|
||||
//
|
||||
// Created by Stephane Bourque on 2021-03-04.
|
||||
// Arilia Wireless Inc.
|
||||
//
|
||||
|
||||
#include "RESTAPI_unknownRequestHandler.h"
|
||||
|
||||
void RESTAPI_UnknownRequestHandler::handleRequest(Poco::Net::HTTPServerRequest& Request, Poco::Net::HTTPServerResponse& Response)
|
||||
{
|
||||
if(!IsAuthorized(Request,Response))
|
||||
return;
|
||||
BadRequest(Request, Response);
|
||||
}
|
||||
Reference in New Issue
Block a user