uaiMockServer icon indicating copy to clipboard operation
uaiMockServer copied to clipboard

Route not found when it has a slash in the end of context and in the beginning of the path

Open wcomnisky opened this issue 8 years ago • 0 comments

Hi!

I didn't take a look at the code yet, but I was having this problem when trying to call the route. I was using the version 1.2.4.

I leave a slash in the end of my context: "context": "/web-app/api/",

And also in the beginning of the path from a request: "path": "/customer/1234"

I'll try to send a PR at home later on.

PS: I edited the JSON file manually (I didn't use the GUI)

wcomnisky avatar Aug 01 '16 00:08 wcomnisky