mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2025-11-03 20:27:45 +00:00
First MicroService checkin
This commit is contained in:
@@ -14,15 +14,21 @@
|
||||
#include "StorageService.h"
|
||||
#include "Utils.h"
|
||||
|
||||
#include "Utils.h"
|
||||
|
||||
namespace uCentral {
|
||||
void RESTAPI_devices_handler::handleRequest(Poco::Net::HTTPServerRequest &Request,
|
||||
Poco::Net::HTTPServerResponse &Response) {
|
||||
|
||||
DBGLINE
|
||||
if (!ContinueProcessing(Request, Response))
|
||||
return;
|
||||
DBGLINE
|
||||
|
||||
if (!IsAuthorized(Request, Response))
|
||||
return;
|
||||
|
||||
DBGLINE
|
||||
try {
|
||||
if (Request.getMethod() == Poco::Net::HTTPRequest::HTTP_GET) {
|
||||
ParseParameters(Request);
|
||||
|
||||
Reference in New Issue
Block a user