debug 404
This commit is contained in:
+3
-2
@@ -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"){
|
||||
|
||||
Reference in New Issue
Block a user