summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/mock/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/mock/server.js')
-rw-r--r--usecaseui-portal/src/app/mock/server.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/mock/server.js b/usecaseui-portal/src/app/mock/server.js
index f8e6b194..930f500b 100644
--- a/usecaseui-portal/src/app/mock/server.js
+++ b/usecaseui-portal/src/app/mock/server.js
@@ -105,14 +105,17 @@ server.delete(`${baseUrl}/*`, (req, res, next) => {
})
server.put(`${nsmfBaseUrl}/*`, (req, res, next) => {
req.method = 'GET';
+ req.url = '/PUT'+req.url;
next();
})
server.post(`${nsmfBaseUrl}/*`, (req, res, next) => {
req.method = 'GET';
+ req.url = '/POST'+req.url;
next();
})
server.delete(`${nsmfBaseUrl}/*`, (req, res, next) => {
req.method = 'GET';
+ req.url = '/DELETE'+req.url;
next();
})