From 5f6c11617a854eed7a8c888eabf5eb3dfcbbf9ed Mon Sep 17 00:00:00 2001 From: msyu Date: Mon, 28 Oct 2024 11:48:52 +0300 Subject: [PATCH] debug 404 --- v1/Application.cfc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/v1/Application.cfc b/v1/Application.cfc index 76f11c5..f2c2c79 100644 --- a/v1/Application.cfc +++ b/v1/Application.cfc @@ -156,7 +156,7 @@ } else { return representationOf("Authorization header expected").withStatus(401); } - + /* var httpService = new http(method = "GET", charset = "utf-8", url = "https://personal-cabinet.adl.nubes.ru/api/v1/user", timeout="3"); httpService.addParam(type = "HEADER", name = "Accept", value = "application/json"); httpService.addParam(type = "HEADER", name = "Authorization", value = "#auth#"); //passthrough @@ -171,9 +171,10 @@ if (structIsEmpty(usrCustomerInfo)) return representationOf("Cannot find default specification for current user #result#").withStatus(422); arguments.requestArguments.usrId=usrCustomerInfo.usrId; //Integer! arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //Integer - + */ return true; + //////////////////////////////////////////////////////////////////////////// //ensure https because of basic authentication if (!lcase(request.config.environment) == "development"){