diff --git a/lib/session.js b/lib/session.js index d394930..bdfb493 100644 --- a/lib/session.js +++ b/lib/session.js @@ -170,7 +170,7 @@ function request(session, credentials, method, path, body, isRespStreaming) { var httpOpts = { hostname: urlParts.hostname, port: urlParts.port, - path: path, + path: urlParts.path+path, method: method, headers: { 'Content-Type': contentType, @@ -271,4 +271,4 @@ function request(session, credentials, method, path, body, isRespStreaming) { return p; }; -module.exports = VantiqSession; \ No newline at end of file +module.exports = VantiqSession;