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"){