Completing RESTAPI refactor.

This commit is contained in:
stephb9959
2021-09-12 10:36:57 -07:00
committed by oblom0v
parent bca0454086
commit 8e1e6567af

View File

@@ -17,6 +17,7 @@
namespace OpenWifi {
void RESTAPI_oauth2Handler::DoGet() {
std::cout << __LINE__ << std::endl;
try {
if (!IsAuthorized()) {
UnAuthorized("Not authorized.");
@@ -58,6 +59,7 @@ namespace OpenWifi {
}
void RESTAPI_oauth2Handler::DoPost() {
std::cout << __LINE__ << std::endl;
try {
// Extract the info for login...