2
저는 Restify를 사용하고 있습니다. req.url은 첫 번째 검색어 매개 변수까지만 URL을 표시하고 있습니다. req.query는 queryStartDate 만 표시합니다.req.url이 전체 URL을 표시하지 않습니다.
http://localhost:6001/myapp/v1/filter/path1/path2/v4.0/mhs/query/path3/path4/path5?queryStartDate=19000101&queryEndDate=21000101&requestSource=source&includeSources=1&excludeSources=2
코드 :이 밝혀졌다
//Breakpoint in my first handler:
HttpHandlers.prototype.readHttpRequest = function (req, res, next) {
req.locals = {};
res.locals = {};
...
var httpHandlers = new HttpHandlers();
server.get('/hello/:name', httpHandlers.readHttpRequest);
어떻게하면 되나요? 코드 숨김? – MatejMecka
@ UnknownDeveloper, 방금 내 질문을 업데이트했습니다. – user994165
**/hello/: name ** url은 어디에 있습니까? @ user994165 –