Closed TimCluyts closed 6 years ago
@timcluyts can you still reproduce this issue? Please note that the proper URL would be http://localhost:3001/rest/v1/products/ not http://localhost:3001/products/
This might have been changed and resolved since this report.
When running node demo and surfing to localhost:3001/products I get following response:
The path c:\products#\GET....... should actually be c:\projects\nodeMocker\node-mock-server\demo..... It seems that the full path is not taken on windows when running locally and moving it to the default path instead.
After some debugging it turns out to be the package itself in MockController.js. It assumes that the whole path is using forward slashes while on Windows, a local path is built with backward slashes in stead.
This issue is - by the way - not limited to /products only but any route when running locally.